- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anyone know if it's possible to list what the Intel OpenCL C compiler defines for preprocessing? I'm looking for something like __INTEL__ (this doesn't seem to be defined).
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your post.
In the current Intel OpenCL SDK there is no pre-defined macro that helps the user identify that he runs on an Intel platform. I'll check this request, and we might add a macro like that in the future.
In the meantime, you might solve this issue by using the clGetPlatformInfo API to query the OpenCL runtime for the platform name, and then passing a macro of your choice by using the "-D" build option.
Thanks
Guy Benyei
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