Is cudaFuncAttributeMaxDynamicSharedMemorySize a supported attriburw?

OpenACC and CUDA Fortran
dkokron
Posts: 8
Joined: Jun 20 2019

Re: Is cudaFuncAttributeMaxDynamicSharedMemorySize a supported attriburw?

Post by dkokron » Wed May 20, 2020 11:54 am

Mat,
I've been working back and forth between a working example and a non-working example. At this point, the working example is just a slimmed down (not scientifically functional) copy of the non-working example. I can even get the non-working example to fail the cudaFuncSetAttribute() call by putting a return at various points in the kernel code. Does the cudaFuncSetAttribute() function interrogate the kernel routine and fail if it doesn't meet some internal requirements?
Dan

dkokron
Posts: 8
Joined: Jun 20 2019

Re: Is cudaFuncAttributeMaxDynamicSharedMemorySize a supported attriburw?

Post by dkokron » Wed May 20, 2020 12:22 pm

edit
I can even get the non-working example to pass the cudaFuncSetAttribute() call by putting a return at various points in the kernel code.

Post Reply