We are designing a compiler whose output is PTX assembly language which is generated from ANSI C ,my question is that how can this output be executed by GPU? In another word, how can we transmit this PTX code block to hardware?
Check out page 48 of the 2.2 Programming Guide. ;)
You’re interested in the cuModuleLoadDataEx() function in the driver API.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| running .ptx on GPU | 3 | 5187 | March 27, 2009 | |
| Example code using PTX | 6 | 9112 | March 25, 2008 | |
| PTX "Assembler" Rolling my own? | 7 | 2935 | September 30, 2008 | |
| Going to learn PTX and write a GPU compiler | 20 | 27123 | January 19, 2009 | |
| .PTX & how to get it running. How to create a hello world type ptx program, and get it to run. | 1 | 3015 | January 7, 2012 | |
| Understanding PTX, the Assembly Language of CUDA GPU Computing | 2 | 146 | August 17, 2025 | |
| How generate ptx in VS2013 | 2 | 723 | February 16, 2017 | |
| Embedding PTX in executables for execution | 3 | 693 | February 3, 2024 | |
| change ptx file and get the final executable | 3 | 1265 | January 26, 2011 | |
| Assembly/Machine code for gpus? Is it possible? | 2 | 4490 | November 3, 2009 |