diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-07-20 18:45:36 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-01-21 23:35:38 +0200 |
commit | 396e355c940d1427ccd7be7435499074f56bab7e (patch) | |
tree | bbc66413d2fd7d6e750492401245c4210530cff6 /test cases/cuda | |
parent | 54b6afa675a248ca46897acf47f9bf8cf06f047d (diff) | |
download | meson-396e355c940d1427ccd7be7435499074f56bab7e.zip meson-396e355c940d1427ccd7be7435499074f56bab7e.tar.gz meson-396e355c940d1427ccd7be7435499074f56bab7e.tar.bz2 |
Clean up minor issues.
Diffstat (limited to 'test cases/cuda')
-rw-r--r-- | test cases/cuda/1 simple/prog.cu | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/test cases/cuda/1 simple/prog.cu b/test cases/cuda/1 simple/prog.cu index ed21152..5f8f0c3 100644 --- a/test cases/cuda/1 simple/prog.cu +++ b/test cases/cuda/1 simple/prog.cu @@ -1,13 +1,11 @@ #include <stdio.h> -#include <iostream> __global__ void kernel (void){ - } -int main( void ) { - kernel<<<1,1>>>(); - printf( "Hello, World!\n" ); - return 0; +int main(int argc, char **argv) { + kernel<<<1,1>>>(); + printf("Hello, World!\n"); + return 0; } |