#include "cuda.h" #include "cuda_runtime.h" #include "device_launch_parameters.h" #include <stdio.h> __global__ void helloworldcuda_Kernel() { printf("Hello world cuda"); } void helloworldcuda() { helloworldcuda_Kernel<<<1, 1>>>(); } int main() { helloworldcuda(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)