Deck 1: Understanding Cuda Kernel Code and Host GPU Interactions

Full screen (f)
exit full mode
Question
The kernel code is dentified by the ________qualifier with void return type

A)_host_
B)__global__
C)_device_
D)void
Use Space or
up arrow
down arrow
to flip the card.
Question
The kernel code is only callable by the host
Question
The kernel code is executable on the device and host
Question
Calling a kernel is typically referred to as _________.

A)kernel thread
B)kernel initialization
C)kernel termination
D)kernel invocation
Question
Host codes in a CUDA application can Initialize a device
Question
Host codes in a CUDA application can Allocate GPU memory
Question
Host codes in a CUDA application can not Invoke kernels
Question
CUDA offers the Chevron Syntax to configure and execute a kernel.
Question
the BlockPerGrid and ThreadPerBlock parameters are related to the ________ model supported by CUDA.

A)host
B)kernel
C)threadabstraction
D)none of above
Question
_________ is Callable from the device only

A)_host_
B)__global__
C)_device_
D)none of above
Question
______ is Callable from the host

A)_host_
B)__global__
C)_device_
D)none of above
Question
______ is Callable from the host

A)_host_
B)__global__
C)_device_
D)none of above
Question
CUDA supports ____________ in which code in a single thread is executed by all other threads.

A)tread division
B)tread termination
C)thread abstraction
D)none of above
Question
In CUDA, a single invoked kernel is referred to as a _____.

A)block
B)tread
C)grid
D)none of above
Question
A grid is comprised of ________ of threads.

A)block
B)bunch
C)host
D)none of above
Question
A block is comprised of multiple _______.

A)treads
B)bunch
C)host
D)none of above
Question
a solution of the problem in representing the parallelismin algorithm is

A)cud
B)pta
C)cda
D)cuda
Question
Host codes in a CUDA application can not Reset a device
Question
Host codes in a CUDA application can Transfer data to and from the device
Question
Host codes in a CUDA application can not Deallocate memory on the GPU
Question
Any condition that causes a processor to stall is called as _____.

A)hazard
B)page fault
C)system error
D)none of the above
Question
The time lost due to branch instruction is often referred to as _____.

A)latency
B)delay
C)branch penalty
D)none of the above
Question
_____ method is used in centralized systems to perform out of order execution.

A)scorecard
B)score boarding
C)optimizing
D)redundancy
Question
The computer cluster architecture emerged as an alternative for ____.

A)isa
B)workstation
C)super computers
D)distributed systems
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/24
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 1: Understanding Cuda Kernel Code and Host GPU Interactions
1
The kernel code is dentified by the ________qualifier with void return type

A)_host_
B)__global__
C)_device_
D)void
__global__
2
The kernel code is only callable by the host
True
3
The kernel code is executable on the device and host
False
4
Calling a kernel is typically referred to as _________.

A)kernel thread
B)kernel initialization
C)kernel termination
D)kernel invocation
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
5
Host codes in a CUDA application can Initialize a device
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
6
Host codes in a CUDA application can Allocate GPU memory
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
7
Host codes in a CUDA application can not Invoke kernels
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
8
CUDA offers the Chevron Syntax to configure and execute a kernel.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
9
the BlockPerGrid and ThreadPerBlock parameters are related to the ________ model supported by CUDA.

A)host
B)kernel
C)threadabstraction
D)none of above
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
10
_________ is Callable from the device only

A)_host_
B)__global__
C)_device_
D)none of above
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
11
______ is Callable from the host

A)_host_
B)__global__
C)_device_
D)none of above
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
12
______ is Callable from the host

A)_host_
B)__global__
C)_device_
D)none of above
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
13
CUDA supports ____________ in which code in a single thread is executed by all other threads.

A)tread division
B)tread termination
C)thread abstraction
D)none of above
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
14
In CUDA, a single invoked kernel is referred to as a _____.

A)block
B)tread
C)grid
D)none of above
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
15
A grid is comprised of ________ of threads.

A)block
B)bunch
C)host
D)none of above
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
16
A block is comprised of multiple _______.

A)treads
B)bunch
C)host
D)none of above
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
17
a solution of the problem in representing the parallelismin algorithm is

A)cud
B)pta
C)cda
D)cuda
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
18
Host codes in a CUDA application can not Reset a device
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
19
Host codes in a CUDA application can Transfer data to and from the device
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
20
Host codes in a CUDA application can not Deallocate memory on the GPU
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
21
Any condition that causes a processor to stall is called as _____.

A)hazard
B)page fault
C)system error
D)none of the above
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
22
The time lost due to branch instruction is often referred to as _____.

A)latency
B)delay
C)branch penalty
D)none of the above
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
23
_____ method is used in centralized systems to perform out of order execution.

A)scorecard
B)score boarding
C)optimizing
D)redundancy
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
24
The computer cluster architecture emerged as an alternative for ____.

A)isa
B)workstation
C)super computers
D)distributed systems
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 24 flashcards in this deck.