- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello together,
I am encountering a bug, when I try to use SPIR-V kernels with more than 1 parameter with the Intel® SDK for OpenCL™ Applications 2016 R3.
Tested on 2 different platforms:
OS: Ubuntu 16.04.2 / Debian 9 Stretch
CPU: Ryzen 1700 / i3-6100U
With one parameter, everything works as expected. However, a kernel practically doing the same with two parameters returns INVALID_KERNEL_ARGS although all other steps (including set kernel args) succeed.
I will attach the example to reproduce the behavior. You find the following files attached:
A working kernel with 1 parameter (example.1) and (the same, but) not working kernel (example.2) with 2 parameters
each with OpenCL C kernel, SPIR-V kernel and host code.
Kind regards
Daniel
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Daniel,
From the attached SPIR-V binaries I can see that they are 32-bit. Do you build your examples as 32-bit or 64-bit application? If your host application is 64-bit you should use 64-bit SPIR-V binaries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually that did the trick. I didn't think about this difference. Thanks alot!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page