83.9k views
5 votes
Assume that a kernel is launched with 1000 thread blocks each of which has 512 threads. If a variable is declared as a shared memory variable, how many versions of the variable will be created through the lifetime of the execution of the kernel?

a. 1
b. 1,000
c. 512
d. 51,200

1 Answer

3 votes

Answer:

The answer to this question is the option "B".

Explanation:

In this question, the answer is option B which is 1,000 because the kernel is a central part of an operating system. kernel manages the computer and the hardware operations. most especially memory and CPU time. It also sheared a memory variable is allocated to thread blocks. That's why the answer to this question is 1,000.

User Petr Gazarov
by
5.6k points