래퍼 라이브러리 opencl 및 cuda 커널 사이 전환 합니다. 완전 한 소스 코드, 테스트를 통과 했다.(translate from):Wrapper library to switch between opencl and cuda kernels. complete source code,has passed the test.
File list:
GPU-Lab
......\matrixmul
......\.........\compile_matrixmul1.sh
......\.........\compile_matrixmul2.sh
......\.........\matrixmul1.cl
......\.........\matrixmul1.cpp
......\.........\matrixmul1.cu
......\.........\matrixmul2.cl
......\.........\matrixmul2.cpp
......\.........\matrixmul2.cu
......\nbody
......\.....\compile_nbody.sh
......\.....\compile_nbody_cuda.sh
......\.....\compile_nbody_cuda_fast.sh
......\.....\compute_forces.cl
......\.....\compute_forces.cu
......\.....\compute_forces_fast.cu
......\.....\nbody.cpp
......\reduction
......\.........\compile_reduction1.sh
......\.........\compile_reduction2.sh
......\.........\compile_reduction3.sh
......\.........\reduction1.cl
......\.........\reduction1.cpp
......\.........\reduction1.cu
......\.........\reduction2.cl
......\.........\reduction2.cpp
......\.........\reduction2.cu
......\.........\reduction3.cl
......\.........\reduction3.cpp
......\.........\reduction3.cu
......\cudadev.h
......\ocldev.h