D Question 20 3 pts We are preparing our first CUDA "Hello World!" application inside "helloworld.cu". Here, our kernel
Posted: Sun May 15, 2022 1:10 pm
D Question 20 3 pts We are preparing our first CUDA "Hello World!" application inside "helloworld.cu". Here, our kernel prints a greetings message that includes the thread identifier. This way, we know that the GPU kernel is active and that our code works correctly: #include estdio.h> -_global_ void helloworld() int threadId = threadIdx, printf("Hello from the GPU My threadid it Id\n", threadId); ) int main(int argc, charang) int grid = 1; // 1 block in the grid int block - 32; // 32 threads per block helloworldcecgrid, block>>>> return; However, even though everything seems correct, we are struggling to see any output from the GPU. Is the example correct? True False