v0.1.4: kernel_launcher_impl.h token

1 view
Skip to first unread message

Patrick Kirsch

unread,
Feb 18, 2010, 5:40:03 PM2/18/10
to cu...@googlegroups.com
Hey,
in kernel_launcher_impl.h:179
There is something mentioned about tokens.
I do not fully understand what that inferes.

As of e.g. CUDA Runtime API v2.2 it (token) is now cudaStream_t:
/usr/local/cuda/include/cuda_runtime_api.h:215
cudaConfigureCall(dim3 gridDim, dim3 blockDim, size_t sharedMem
__dv(0), cudaStream_t stream __dv(0));

Regards,
Patrick


Jens Breitbart

unread,
Feb 19, 2010, 5:45:50 AM2/19/10
to cu...@googlegroups.com
As you can see in the comment in the source file. Tokens were not documented in the early CUDA versions. What was called tokens internally in the original version are now the stream identifiers, see for example here:


Currently there is a default value being used for token for all kernels.

Best,
Jens
Reply all
Reply to author
Forward
0 new messages