-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
ptx.scroll
26 lines (23 loc) · 1.06 KB
/
ptx.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import ../code/conceptPage.scroll
id ptx
name PTX
appeared 2009
tags assembly
website https://llvm.org/docs/NVPTXUsage.html
aka nvptx
conceptDescription PTX, a low-level parallel thread execution virtual machine and instruction set architecture (ISA). PTX exposes the GPU as a data-parallel computing device.
fileType text
centralPackageRepositoryCount 0
originCommunity Nvidia
reference https://www.nvidia.com/content/cuda-ptx_isa_1.4.pdf
wikipedia https://en.wikipedia.org/wiki/Parallel_Thread_Execution
example
.shared .align 8 .b8 pbatch_cache[15744]; // define 15744 bytes, aligned to an 8-byte boundary
related assembly-language cuda
summary 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.
backlinksCount 13
pageId 25073119
created 2009
revisionCount 37
dailyPageViews 19
appeared 2009