Function cimba_thread_context

Function Documentation

void *cimba_thread_context(void)

Access the thread context if one exists. Used e.g. for storing CUDA stream info for this thread.

Returns:

Thread context previously created by a thread init function, possibly NULL if no such function has been called.