#include #include __global__ void helloCUDA(float f) { printf("Hello thread %d, f=%f\n", threadIdx.x, f); } int main() { helloCUDA<<<1, 195>>>(1.2345f); cudaDeviceSynchronize(); return 0; }