Q. What is the equivalent of general C program with CUDA C: int main(void) { printf("Hello, World!\n"); return 0; }
β
Correct Answer: (B)
__global__ void kernel( void ) { } int main ( void ) { kernel <<<1,1>>>(); printf("hello, world!\\n"); return 0; }
You must be Logged in to update hint/solution
Discussion
Question Analytics
796
Total Visits
2 y ago
Published
Mr. Dubey
Publisher
95%
Success Rate