GPU Workshop Sample Code
 All Data Structures Namespaces Files Functions Variables Macros Pages
File List
Here is a list of all files with brief descriptions:
[detail level 12]
o-deviceQualifier
|\*deviceQualifier.cuThis sample demonstrates the __device__ qualifier
o-devQuery
|o*devQuery.cuThis sample queries the properties of the CUDA devices present in the system
|\*helper_cuda.hUtility functions for devQuery.cu
o-include
|o*mycuda.h
|o*mycuda_random.h
|o*mycuda_reduce.h
|\*mycuda_scan.h
o-mappedMemory
|\*mappedMemory.cuThis sample demonstrates the use of mapped variables
o-optionPricing
|o*get_option_payoffs.cuOption pricing code for model proposed by Christoffersen et al (2012, JFE)
|\*rng.cFunctions for generating multiple streams of random numbers on the GPU
o-prefixScan
|\*prefixScan.cuThis sample demonstrates code for performing prefix scans using CUDA
o-reduce1
|\*reduce1.cuCompute blockwise sums of a vector x of length n
o-reduce2
|\*reduce2.cuReduces M x N matrix. Returns column results for a generic reduction operation
o-reduce3
|\*reduce3.cuCompute column sums of a M x N array. Each column is reduced by several thread blocks
o-simpleMath
|\*simpleMath.cuThis example demonstrates several kernels that do simple math operations
o-simpleMatlab
|\*myfun.cuSimple CUDA kernel for demonstrating Matlab GPU capabilities
o-simpleRandom
|\*simpleRandom.cuDemonstrates random number generation
o-simpleThrust
|\*simpleThrust.cuDemonsrates Thrust library
\-vecAdd
 \*vecAdd.cuSimple example of a kernel to add two vectors elementwise