Skip to content

Instantly share code, notes, and snippets.

@Robadob
Last active March 2, 2020 17:03
Show Gist options
  • Save Robadob/b2b7704a36e2f679942e854a0f41082a to your computer and use it in GitHub Desktop.
Save Robadob/b2b7704a36e2f679942e854a0f41082a to your computer and use it in GitHub Desktop.
@mondus
Copy link

mondus commented Mar 2, 2020

Try adding

cudaFree(0);
cuInit(0);
cuDeviceGet(&cuDevice, 0);
CUcontext context;
cuDevicePrimaryCtxRetain(&context, cuDevice);

before any jitify stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment