1

What is the equivalent of general C program with CUDA C: int main(void) { printf("Hello, World!\n"); return 0; }

Correct Answer: __global__ void kernel( void ) { } int main ( void ) { kernel <<<1,1>>>(); printf("hello, world!\\n"); return 0; }

Make the most of this question

This page focuses on one High Performance Computing question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

High Performance Computing MCQ: What is the equivalent of general C program with CUDA C: int main(void) { printf("Hello, World!\n"); return 0; } | Extra Education