- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have a simple program which includes:
#pragma offload target(mic)
i try to compile it using the following:
icc -offload-build test.c -o test
i get:
icc: command line remark #10148: option 'offload-build' not supported
how should i compile my program? thanks!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-offload-build is obsoleted. Just use
icc -o test test.c.
If your program has offload code the compiler will generate the necessary code to run on the card.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Ravi!

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page