PageRenderTime 88ms CodeModel.GetById 86ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/extra/cuda/demos/hello-world/hello.ptx

http://github.com/abeaumont/factor
Unknown | 71 lines | 65 code | 6 blank | 0 comment | 0 complexity | f63558a057abe638e261c5d187e01864 MD5 | raw file
 1	.version 1.4
 2	.target sm_10, map_f64_to_f32
 3	// compiled with /usr/local/cuda/bin/../open64/lib//be
 4	// nvopencc 3.0 built on 2010-03-11
 5
 6	//-----------------------------------------------------------
 7	// Compiling /tmp/tmpxft_00000eab_00000000-7_hello.cpp3.i (/var/folders/KD/KDnx4D80Eh0fsORqNrFWBE+++TI/-Tmp-/ccBI#.AYqbdQ)
 8	//-----------------------------------------------------------
 9
10	//-----------------------------------------------------------
11	// Options:
12	//-----------------------------------------------------------
13	//  Target:ptx, ISA:sm_10, Endian:little, Pointer Size:32
14	//  -O3	(Optimization level)
15	//  -g0	(Debug level)
16	//  -m2	(Report advisories)
17	//-----------------------------------------------------------
18
19	.file	1	"<command-line>"
20	.file	2	"/tmp/tmpxft_00000eab_00000000-6_hello.cudafe2.gpu"
21	.file	3	"/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h"
22	.file	4	"/usr/local/cuda/bin/../include/crt/device_runtime.h"
23	.file	5	"/usr/local/cuda/bin/../include/host_defines.h"
24	.file	6	"/usr/local/cuda/bin/../include/builtin_types.h"
25	.file	7	"/usr/local/cuda/bin/../include/device_types.h"
26	.file	8	"/usr/local/cuda/bin/../include/driver_types.h"
27	.file	9	"/usr/local/cuda/bin/../include/texture_types.h"
28	.file	10	"/usr/local/cuda/bin/../include/vector_types.h"
29	.file	11	"/usr/local/cuda/bin/../include/device_launch_parameters.h"
30	.file	12	"/usr/local/cuda/bin/../include/crt/storage_class.h"
31	.file	13	"/usr/include/i386/_types.h"
32	.file	14	"/usr/include/time.h"
33	.file	15	"/usr/local/cuda/bin/../include/texture_fetch_functions.h"
34	.file	16	"/usr/local/cuda/bin/../include/common_functions.h"
35	.file	17	"/usr/local/cuda/bin/../include/crt/func_macro.h"
36	.file	18	"/usr/local/cuda/bin/../include/math_functions.h"
37	.file	19	"/usr/local/cuda/bin/../include/device_functions.h"
38	.file	20	"/usr/local/cuda/bin/../include/math_constants.h"
39	.file	21	"/usr/local/cuda/bin/../include/sm_11_atomic_functions.h"
40	.file	22	"/usr/local/cuda/bin/../include/sm_12_atomic_functions.h"
41	.file	23	"/usr/local/cuda/bin/../include/sm_13_double_functions.h"
42	.file	24	"/usr/local/cuda/bin/../include/common_types.h"
43	.file	25	"/usr/local/cuda/bin/../include/sm_20_atomic_functions.h"
44	.file	26	"/usr/local/cuda/bin/../include/sm_20_intrinsics.h"
45	.file	27	"/usr/local/cuda/bin/../include/math_functions_dbl_ptx1.h"
46	.file	28	"hello.cu"
47
48
49	.entry helloWorld (
50		.param .u32 __cudaparm_helloWorld_str)
51	{
52	.reg .u16 %rh<4>;
53	.reg .u32 %r<9>;
54	.loc	28	58	0
55$LBB1_helloWorld:
56	.loc	28	64	0
57	mov.u16 	%rh1, %ctaid.x;
58	mov.u16 	%rh2, %ntid.x;
59	mul.wide.u16 	%r1, %rh1, %rh2;
60	cvt.u32.u16 	%r2, %tid.x;
61	add.u32 	%r3, %r2, %r1;
62	ld.param.u32 	%r4, [__cudaparm_helloWorld_str];
63	add.u32 	%r5, %r4, %r3;
64	ld.global.s8 	%r6, [%r5+0];
65	add.s32 	%r7, %r6, %r3;
66	st.global.s8 	[%r5+0], %r7;
67	.loc	28	65	0
68	exit;
69$LDWend_helloWorld:
70	} // helloWorld
71