Skip to content
Advertisement

Tag: templates

CUDA C++: Using a template function which calls a template kernel

I have a class which has a template function. This function calls a template kernel. I’m doing my development in Nsight on a Linux box. In doing this, I encounter the following pair of conflicting requirements: 1 – When implementing a template function, the definition must appear in the *.h (or *.cu.h) file since the code is not generated until

Advertisement