Skip to content

A working example of an FFT using Thrust and CUDA FFT callbacks

Notifications You must be signed in to change notification settings

ovalerio/thrust_fft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

# INSTRUCTIONS TO COMPILE THE EXAMPLE ASSUMING THE
# CUDA TOOLKIT IS INSTALLED AT /usr/local/cuda-6.5/
# REMEMBER THAT YOU WILL NEED A KEY LICENSE FILE TO
# RUN THIS EXAMPLE IF YOU ARE USING CUDA 6.5
nvcc -arch=sm_35 -rdc=true -c src/thrust_fft_example.cu
nvcc -arch=sm_35 -dlink -o thrust_fft_example_link.o thrust_fft_example.o -lcudart -lcufft_static
g++ thrust_fft_example.o thrust_fft_example_link.o -L/usr/local/cuda-6.5/lib64 -lcudart -lcufft_static -lculibos

# TO VERIFY THAT THE EXECUTABLE IS NOT USING THE SHARED CUFFT
file a.out
ldd a.out

About

A working example of an FFT using Thrust and CUDA FFT callbacks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages