8 lines
172 B
Plaintext
8 lines
172 B
Plaintext
|
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;
|
||
|
}
|