Skip to content

tarafdar/clmonte

Repository files navigation

******ECE496 PROJECT*****


Source files: SRC
	CLMonte_SRC: OpenCL files
		CLMonte.cpp - host application 
		CLMonteTransport.cl - OpenCL GPU application
		CLMonte_goldstandard.c -Sequential C model

	CUDA_SRC: CUDA files
		CUDAMC.cu - host application
		CUDAMCTransport.cu - CUDA GPU application
		CUDAMC_goldstandard.c - Sequential C model


	HelperFiles: safeprimes_base32.txt - prime numbers used for random number generation 


To Make:

        both CUDA and CL:	make 
	only CL:		make CLMonte
	only CUDA:		make CUDAMC
	clean:			make clean



NOTE*****


OpenCL and CUDA code currently tinkered to be optimal on GTX 480 (15 SMs), change as need be for different accelerators!