Hi all,
I developed a kernel and after a lot of debugging with the compilation and runtime errors, I was finally able to run my opencl kernel. But the moment it starts running, the entire desktop hangs. SSH could be done to the system but the on PC keyboard or mouse or any sort of interrupts do not show a response. I have a 64 bit toshiba laptop with mobility radeon hd 4500 series and am running 32 bit centos on it. Also tried 32 and 64 bit ubuntu 10.10 on it, but the same problem persists. Is this a bug, or is there some important step I am missing??? Please help urgently!!!
Thank You.
Well i am alloting only 2 work items while my GPU supports a max of 128. If you wish to check out the kernel code, here it is http://pastebin.ca/1960646. I would love this problem to be resolved.
spyzer.abhishek0,
Have you tried letting the kernel execute after hang.
Hang down or desktop freezing are quite common while kernels are run on GPUs.The reason being GPU is busy doing computation so it cannot refresh the screen during that time.In such cases it appears that computer is not responding to keyboard or mouse,but actually just the screen does not get refreshed.For the same reason OS provides a watchdog timer which checks if the screen is not refreshed, for a maximum of 5 sec, it interrupts the GPU and restarts it.
I checked your code in SKA, and parameters are generated just fine.I will check the code and update if i find any problem with the code.
Thanks
okay if that's the case, then I would like to ask two more things:
1 - May anyone suggest me how to run those nested loops parallelly as well. Do i need to make another kernel, or do i need to change my logic of implementation??
2 - Is there any way that my GUI doesn't make use of graphics card on the system so that when I am using opencl on GPU, the GUI doesn't crash??