Forum Discussion
Altera_Forum
Honored Contributor
8 years agoquestions about buffer size and parameter size.
I am implementing sparse matrix multiply on Nalla 510t, and have some problem transfer my matrix. The problem has I stripped the matrix into 512 pieces for parallel computation. First I trie...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Do you mean since kernel cannot support such big work size, I should split it into several sub-kernels? This makes sense to me, but I will need to change my kernel code a lot. :( --- Quote End --- No, not separate kernels. Break up your NDRange into smaller workgroups that can fit in the hardware (use the localworksize argument when launching the kernel with clEnqueueNDRange Kernel on the host side and use a maximum or required workgroup size attribute on the kernel side).