Index of /wiki/ParallelComputingSpring2015/o/stanford/assignments/mp3/

NameLast ModifiedSize
UpParent Directory
Fileblack_scholes.cu2022-06-01 22:51 7k
[TXT]black_scholes.h2022-06-01 22:51 4k
Filecompact.cu2022-06-01 22:51 3k
[TXT]compact.h2022-06-01 22:51 1k
FileMakefile2022-06-01 22:51 2k
Filemp3-part1.cu2022-06-01 22:51 13k
Filemp3-part2.cu2022-06-01 22:51 7k
Filemp3-part3.cu2022-06-01 22:51 14k
[TXT]mp3-questions.txt2022-06-01 22:51 3k
[TXT]mp3-util.h2022-06-01 22:51 3k
Filescan.cu2022-06-01 22:51 5k
[TXT]scan.h2022-06-01 22:51 1k
Filescatter.cu2022-06-01 22:51 5k
[TXT]scatter.h2022-06-01 22:51 1k
Welcome to the second Machine Problem! DUE DATE: Thu April 22, 11:59pm MP3 is a three-part assignment. Detailed instructions for each of the three parts of MP3 are included in commentary at the top of the files mp3-part1.cu, mp3-part2.cu, and mp3-part3.cu. When compiled out of the box, each of these parts should report an error allocating device memory and exit immediately. Your task is to correctly implement sections marked TODO: in each part, causing the main() functions of each to return normally. SUBMISSION INSTRUCTIONS ========================= You can submit an assignment from any of the cluster machines by using our submit script. Th submit script bundles the entire current directory into a submission. Thus, you use it by CDing to a the directory for your assignment, and running: > cd *some directory* > /usr/class/cs193g/bin/submit mp3 This will submit the current directory as your assignment. You can submit as many times as you want, and we will use your last submission. 1) RUNNING ON PUPS USING OUR MAKEFILE: ====================================== To compile the three problems (part1, part2, and part3), run: > make all To run any of the problems, you can also use the makefile, like so: > make run1 > make run2 > make run3 2) RUNNING ON YOUR OWN MACHINE USING OUR MAKEFILE: ================================================== part1 and part3 of MP3 require GPU support for double precision (64b) floating point arithmetic. The GPUs in the pups cluster support double precision, but your development machine may not. This is fine -- you can develop in single precision, but you should verify that your code compiles and runs in double precision on the pups cluster machines. In order to develop in single precision, you should modify the Makefile by following the instructions therein.
Proudly Served by LiteSpeed Web Server at wrfranklin.org Port 443