Forum Discussion
Altera_Forum
Honored Contributor
11 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.