Re: coprthr_dwrite and coprthr_mem_t
Posted:
Mon Apr 18, 2016 1:40 pm
by jar
If you want to use a normal struct, use the MPI interface. The low-level dexec command requires the array of arrays. You can allocate two chunks of memory for one value and dereference the pointer on the device code.
Also, in this case, since these appears to be compile-time constants in the host code, why not just compile them into the device code?
Re: coprthr_dwrite and coprthr_mem_t
Posted:
Tue Apr 19, 2016 1:47 am
by nickoppen
Thank you yet again James,
I've got it working now and enough to write my next blog post. I want to give enough of an overview to show at least a few of the options that the programmer has when using coprthr.
nick