Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

PTX

< >

PTX is an assembly language created in 2009.

#1508on PLDB 15Years Old

Parallel Thread Execution (PTX, or NVPTX) is a pseudo-assembly language used in Nvidia's CUDA programming environment. The nvcc compiler translates code written in CUDA, a C++-like language, into PTX, and the graphics driver contains a compiler which translates the PTX into a binary code which can be run on the processing cores.. Read more on Wikipedia...


Example from Wikipedia:
.shared .align 8 .b8 pbatch_cache[15744]; // define 15744 bytes, aligned to an 8-byte boundary

View source

- Build the next great programming language About Acknowledgements Extensions Day 630 Donate feedback@pldb.io