Skip to content

ELICuda - an example for unified using Thrust code on host backends CPU(CPP/OpenMP) and GPU(CUDA)

Notifications You must be signed in to change notification settings

AlexeyAB/ELICuda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ELICuda

ELICuda - an example for unified using Thrust code on host backends CPU(CPP/OpenMP) and GPU(CUDA)

Divide each byte of the first file, by the corresponding byte from the second file, exclude of file the first 512 bytes for header!

Example of use: ELICuda.exe filename1 filename2

ELICuda_nvcc.exe - compiled with nvcc supports OpenMP and CUDA GPGPU

ELICuda_msvc.exe - compiled purely msvc10

To work ELICuda_nvcc.exe needed 2 libraries: cudart64_50_35.dll vcomp100.dll

The results of 5000 iterations of the division: CPU: 3.60 sec CPU OMP: 1.55 sec GPU: 0.04 seconds

About

ELICuda - an example for unified using Thrust code on host backends CPU(CPP/OpenMP) and GPU(CUDA)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published