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

Code Builder Kernel Analysis errors

$
0
0

 

When I create a brand new Code Builder session, using a simple vector Add kernel, Build works fine. 

 __kernel void Add_1D(__global int* pA, __global int* pB, __global int* pC)
{
    const int id    = get_global_id(0);

    pC[id] = pA[id] + pB[id];
}

 

Then I set  up buffer variables and run Analyze, which also works, at least the Session Info, Execution Analysis (Execution and Advanced).

Using global_work_size = {65536,0,0} and local_work_size = (32,0,0)

However, If I mouse over the Kernel Analysis option, and select a configuration, then Launch Analysis,

it runs for a bit then says "Analysis has encountered errors." and quits. How can I troubleshoot this? 

Thx, Colin

 


Viewing all articles
Browse latest Browse all 1182

Trending Articles



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