summaryrefslogtreecommitdiff
path: root/debug_tools/WatchYourStep/ptxjitplus/myPtx32.ptx
diff options
context:
space:
mode:
authorJonathan <[email protected]>2018-06-26 13:20:39 -0700
committerJonathan <[email protected]>2018-06-26 13:20:39 -0700
commit584ebaa74a838680e6ed1fa13ac266e88c30c071 (patch)
tree59523a4db9b6b4923611777928818d0bfc8b0ffc /debug_tools/WatchYourStep/ptxjitplus/myPtx32.ptx
parent978730086509050df16b77b9fbb4cc3ef19f3f6a (diff)
exports and imports param data in new debug tool: WatchYourStep
Diffstat (limited to 'debug_tools/WatchYourStep/ptxjitplus/myPtx32.ptx')
-rw-r--r--debug_tools/WatchYourStep/ptxjitplus/myPtx32.ptx33
1 files changed, 33 insertions, 0 deletions
diff --git a/debug_tools/WatchYourStep/ptxjitplus/myPtx32.ptx b/debug_tools/WatchYourStep/ptxjitplus/myPtx32.ptx
new file mode 100644
index 0000000..28e8e4d
--- /dev/null
+++ b/debug_tools/WatchYourStep/ptxjitplus/myPtx32.ptx
@@ -0,0 +1,33 @@
+//
+// Generated by NVIDIA NVVM Compiler
+// Compiler built on Sat Mar 30 20:51:33 2013 (1364691093)
+// Cuda compilation tools, release 5.5, V5.5.0
+//
+
+.version 3.2
+.target sm_20
+.address_size 32
+
+.visible .entry _Z8myKernelPi(
+ .param .u32 _Z8myKernelPi_param_0
+)
+{
+ .reg .s32 %r<9>;
+
+
+ ld.param.u32 %r1, [_Z8myKernelPi_param_0];
+ cvta.to.global.u32 %r2, %r1;
+ .loc 1 3 1
+ mov.u32 %r3, %ntid.x;
+ mov.u32 %r4, %ctaid.x;
+ mov.u32 %r5, %tid.x;
+ mad.lo.s32 %r6, %r3, %r4, %r5;
+ .loc 1 4 1
+ shl.b32 %r7, %r6, 2;
+ add.s32 %r8, %r2, %r7;
+ st.global.u32 [%r8], %r6;
+ .loc 1 5 2
+ ret;
+}
+
+