Moved tests

This commit is contained in:
2024-11-14 17:37:14 +01:00
parent 0bdb7195de
commit efb58fba30
6 changed files with 0 additions and 0 deletions

16
tests/hello_world.cu Normal file
View File

@@ -0,0 +1,16 @@
#include <iostream>
#include <cuda_runtime.h>
__global__ void hello_from_gpu() {
printf("Hello from GPU!\n");
}
int main() {
hello_from_gpu<<<1, 1>>>();
cudaDeviceSynchronize();
// Reset device
cudaDeviceReset();
return 0;
}