Category : opencl

I’m writing an OpenCL kernel and need to have a certain define. Through the compiler arguments for the kernel I set a define called VECTOR_SIZE which is just a number, e.g. 2, 8 or 16. Then in the kernel I need a define that would extend to float2, float8 or float16. I tried this: #define ..

Read more

I tried to make parallel bfs in openCL but I didn’t have enough experience with c++. So this is probably memory error, but I really don’t know how to fix it. I also can’t find what does error value -51 means. As a result I got "Unhandled exception at 0x00007FFCFB06A549 (amdocl64.dll) in my project.exe: 0xC0000005: ..

Read more

I’ve been having an issue with a certain function call in the dphaseWeighted = af::convolve(dphaseWeighted, m_slowTimeFilter); which seem to produce nothing but nan’s. The back ground is we have recently switched from using AF OpenCL to AF Cuda and the problem that we are seeing happens in the function. dphaseWeighted = af::convolve(dphaseWeighted, m_slowTimeFilter); This seems ..

Read more