- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to I know if a node has a coprocessor while on runtime?
Thanks!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
If you compile and build with Intel compilers, did you take a look at /opt/intel/composerxe/Samples/en_US/C++/mic_samples/intro_sampleC/sampleC00.c ?
It uses runtime calls like _Offload_number_of_devices() defined in offload.h
I think this might meet your needs...
Best,
Leo.
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