Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

INVALID_KERNEL_ARGS bug when using SPIR-V kernels

$
0
0

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

Thread Topic: 

Bug Report

Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>