opencl emulater mode, how?

hello guys,

i’m tired of getting out-of-resource problems. is there anyway to run opencl in the emulator mode with visual studio?
i don’t see emu debug mode


have the same problem and found this:…9810&hl=emu

It’s not exactly the same thing, but you could try with installing AMD Stream SDK, and linking your code with AMD runtime - this way your code will be run on CPU, and you should be able to debug it almost as ordinary multi-threaded code (use printf() in your kernel code, etc.). But if I understood properly what is the problem you are encountering (getting CL_OUT_OF_RESOURCE errors?), this kind of stuff is much faster to debug by just carefully reading specs, and then fixing your code to obey these…