Question: Link: https://developer.nvidia.com/cuda-toolkit . 6.14 Download the CUDA Toolkit and SDK from https://developer.nvidia.com/ cuda-toolkit. Make sure to use the 'emurelease (Emulation Mode) version of the code.
Link: https://developer.nvidia.com/cuda-toolkit
.
6.14 Download the CUDA Toolkit and SDK from https://developer.nvidia.com/ cuda-toolkit. Make sure to use the 'emurelease" (Emulation Mode) version of the code. (You will not need actual NVIDIA hardware for this assignment.) Build the example programs provided in the SDK, and confirm that they run on the emulator. 6.14.1 (90] Using the "template" SDK sample as a starting point, write a CUDA program to perform the following vector operations 1) a-b(vector-vector subtraction) 2) a b (vector dot product) The dot product of two vectors a = [al, a".., an] and b = [b" b".., b"] is defined as: Submit code for each program that demonstrates each operation and verifies the correctness of the results 6.14.2 [90] If you have GPU hardware available, complete a performance analysis on your program, examining the computation time for the GPU and a CPU version of your program for a range of vector sizes. Explain any results you see. 6.14 Download the CUDA Toolkit and SDK from https://developer.nvidia.com/ cuda-toolkit. Make sure to use the 'emurelease" (Emulation Mode) version of the code. (You will not need actual NVIDIA hardware for this assignment.) Build the example programs provided in the SDK, and confirm that they run on the emulator. 6.14.1 (90] Using the "template" SDK sample as a starting point, write a CUDA program to perform the following vector operations 1) a-b(vector-vector subtraction) 2) a b (vector dot product) The dot product of two vectors a = [al, a".., an] and b = [b" b".., b"] is defined as: Submit code for each program that demonstrates each operation and verifies the correctness of the results 6.14.2 [90] If you have GPU hardware available, complete a performance analysis on your program, examining the computation time for the GPU and a CPU version of your program for a range of vector sizes. Explain any results you see
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
