Forum Discussion
MuhammadAr_U_Intel
Contributor
7 years agoHi,
In order to run kernel simulation and view waveforms, please follow the steps as mentioned in OpenCL programming guide.
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/aocl_programming_guide.pdf
Page 161
Topic: 12.1.7. Debugging Your OpenCL Library Through Simulation (Preview)
Thanks,
Arslan
zjinf
Occasional Contributor
7 years agoHi Musman
Thanks for your reply ! that is not what i want!
i want simulation my own kernel , not the .*libraries*
take vector add for example:
_kernel void vector_add(__global const float *x,
__global const float *y,
__global float *restrict z)
{
// get index of the work item
int index = get_global_id(0);
// add the vector elements
z[index] = x[index] + y[index];
}
It must have related RTL code for the kernel ! where is the code ? intel not provide the code ? thanks again