- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have question about kernel execution on Intel GPU
I working on complicated project, and the best way to improve efficiency is writing code directly in GEN assembly.
It is possible to directly load ISA compiled program to GPU?
I downloaded and built IGA compiler, successfully compiled my ISA project to binary version, but in hex editor i see this is a raw file, without header, only GEN SIMD instructions.
OpenCl clBuildProgramWithBinary function don't work. I have error code -42 CL_INVALID_BINARY
The same result with clBuildProgramWithIL, CL_INVALID_BINARY error.
There is any method to start this program on GPU? (Intel I5-5300U, broadwell family)
Thanks for reply
Grek
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
It's been a while since I've done this, but please have a look at the ocloc "OpenCL Offline Compiler" since I think it has the functionality you are looking for:
Note that ocloc packages are also available in the latest NEO compute runtime releases:
https://github.com/intel/compute-runtime/releases/latest
I've had the best luck in the past by first writing and compiling a skeleton kernel with the same signature as my hand-written kernel, disassembling the kernel binary, replacing the skeleton kernel with my hand-written kernel, then re-assembling the binary.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Greg,
Please let us know if your issue is resolved.
Regards,
Arpita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Greg,
We assume that your issue is resolved. If you need any additional information, please submit a new question as this thread will no longer be monitored.
Regards,
Arpita

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