Skip to content
README.md 605 B
Newer Older
Ivan Martinez Perez's avatar
Ivan Martinez Perez committed
# cuThomasBatch

# Setup environment
Ivan Martinez Perez's avatar
Ivan Martinez Perez committed
On a desktop system this is probably not required. On a cluster this is usually required to make sure that an appropriate
Ivan Martinez Perez's avatar
Ivan Martinez Perez committed

Ivan Martinez Perez's avatar
Ivan Martinez Perez committed
Compiler is chosen.
Ivan Martinez Perez's avatar
Ivan Martinez Perez committed

Ivan Martinez Perez's avatar
Ivan Martinez Perez committed
- module load gcc (tested on gcc 4.9)

It is important to be sure that your CUDA environment is properly setup too (nvcc must be included on PATH).

- PATH=$PATH:[CUDA_HOME]/bin

- make -j
Ivan Martinez Perez's avatar
Ivan Martinez Perez committed

# test
Ivan Martinez Perez's avatar
Ivan Martinez Perez committed
- unit_test1, cuThomasBatch execution 

- unit_test2, execution of cuThomasBatch, cuSparse and cuSolve reference routines

- ./unit_test[1,2] [SIZE_SYSTEM] [BATCH_COUNT] [CUDA_BLOCK_SIZE]


Ivan Martinez Perez's avatar
Ivan Martinez Perez committed
# example
Ivan Martinez Perez's avatar
Ivan Martinez Perez committed
- ./unit_test1 64 2560 32
Ivan Martinez Perez's avatar
Ivan Martinez Perez committed