ai-content-maker/.venv/Lib/site-packages/numba/cuda/tests/data/warn.cu

8 lines
172 B
Plaintext
Raw Permalink Normal View History

2024-05-03 04:18:51 +03:00
extern "C" __device__
int bar(int* out, int a) {
// Explicitly placed to generate a warning for testing the NVRTC program log
int unused;
*out = a * 2;
return 0;
}