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

OpenCL SPIR cannot load into runtime driver

$
0
0

Hello,

My system : 

CPU:  Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz, 4 Cores / 8 Threads

OS  :  Ubuntu 14.04

OpenCL drivers version:  1.2.0.43 (gathered from OpenCL info queries)

Intel SDK version :  intel sdk 2014 Ubuntu 5.0.0.43_x64

I have problem of loading SPIR kernels generated by Code Builder(KernelBuilder64 when launching from terminal). The runtime builds after loading binary successfully it seems if we trust build log coming from clProgramBuildInfo (CL_PROGRAM_BUILD_LOG) but when I execute the kernel and print the buffer; it seems values inside the buffer don't change.

In the attachment, I have an example file "s.cl", also the binary generated by intel tools together with "main.cpp"(my OpenCL code). Finally, the black screenshot to show the output of the main.cpp program.

Since I failed to load SPIR, I tried the new driver (intel_sdk_for_opencl_2016_ubuntu_6.0.0.1049_x64). But I couldn't even open Code Builder and OpenCL was having problems with clGetPlatfromIds. In the attachement, I also run clDevQuery (from https://gist.github.com/rmcgibbo/6314452) to show the response I got from the OpenCL runtime systems.

AttachmentSize
Downloadapplication/x-gzipintel_runtime_spir.tar.gz405.93 KB

Viewing all articles
Browse latest Browse all 1182

Trending Articles



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