13.07.2015 Views

Using Thrust to Sort CUDA FORTRAN Arrays - NVIDIA Developer ...

Using Thrust to Sort CUDA FORTRAN Arrays - NVIDIA Developer ...

Using Thrust to Sort CUDA FORTRAN Arrays - NVIDIA Developer ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Thrust</strong> Wrapper Functions <strong>Sort</strong> Implementation PerspectivesConfigure <strong>CUDA</strong> <strong>FORTRAN</strong> for <strong>CUDA</strong> v4.0rc4.oset <strong>CUDA</strong>ROOT=/usr/local/cuda;set <strong>CUDA</strong>VERSION=4.0;MakefileNVINC = -I/usr/local/cuda/includeF90FLAGS = -rc=rc4.o -Mcuda=cc20 -O3Until PGI supports <strong>CUDA</strong> v4.0 natively• Create rc4.o file• Compile <strong>CUDA</strong> <strong>FORTRAN</strong> files (.cuf) using –rc flag• Add –L/usr/local/cuda/lib64 if using <strong>CUDA</strong> v4.0 Toolkit© 2011 <strong>NVIDIA</strong> Corporation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!