Concatenative language
Concatenative topics
Concatenative meta
Other languages
Meta
On Mac: - Snow Leopard 10.6.3 or higher required - Install driver and sdk: [[http://developer.nvidia.com/object/cuda_3_0_downloads.html|download]] Sample code installs to: - /Developer/GPU\ Computing/C In .profile: - export LD\_LIBRARY\_PATH=/usr/local/cuda/lib - export PATH=/usr/local/cuda/bin:$PATH File endings: - .cu -- CUDA source - .cuh -- CUDA header - .cubin -- old-style compiled CUDA - .ptx -- new-style compiled CUDA To run as a program: - nvcc foo.cu; ./a.out To compile for Factor to load: - nvcc --ptx foo.cu Turn off name mangling: - extern "C" __global__ void fooBar();
Describe this revision:
Save