Forum Discussion
Altera_Forum
Honored Contributor
12 years agokernel panic from kernel with 512 workgroup size
Hello! I got some undesired behavior. (Opencl 14.0 on CentOs 6.5 with Pico m506) I have two identical kernels that differs only in __attribute__((reqd_work_group_size(32,1,1))) One has wor...
Altera_Forum
Honored Contributor
12 years agoThe Linux kernel panic happens during DMA transfer, which is done by the host on the CPU with a help of Altera OpenCL Linux kernel driver (aclpci_drv). My guess here is that you're trying to DMA more memory than you actually allocated. Double-check sizes passed to clCreateBuffer versus clEnqueueReadBuffer or clEnqueueWriteBuffer. I suspect that the clEnqueueRead/WriteBuffer got a larger size argument than the one to clCreateBuffer.