9
9
addition_kernel = "__device__ int C(int a, int b) { return a + b; }"
10
10
11
11
12
- @pytest .fixture (scope = "module " )
12
+ @pytest .fixture (scope = "function " )
13
13
def compile_ptx_functions (init_cuda ):
14
14
object_code_a_ptx = Program (empty_entrypoint_kernel , "c++" ).compile ("ptx" )
15
15
object_code_b_ptx = Program (empty_kernel , "c++" ).compile ("ptx" )
@@ -18,7 +18,7 @@ def compile_ptx_functions(init_cuda):
18
18
return object_code_a_ptx , object_code_b_ptx , object_code_c_ptx
19
19
20
20
21
- @pytest .fixture (scope = "module " )
21
+ @pytest .fixture (scope = "function " )
22
22
def compile_ltoir_functions (init_cuda ):
23
23
object_code_a_ltoir = Program (empty_entrypoint_kernel , "c++" ).compile ("ltoir" , options = ("-dlto" ,))
24
24
object_code_b_ltoir = Program (empty_kernel , "c++" ).compile ("ltoir" , options = ("-dlto" ,))
@@ -47,7 +47,6 @@ def compile_ltoir_functions(init_cuda):
47
47
LinkerOptions (arch = ARCH , xptxas = ["-v" ]),
48
48
LinkerOptions (arch = ARCH , split_compile = 0 ),
49
49
LinkerOptions (arch = ARCH , split_compile_extended = 1 ),
50
- LinkerOptions (arch = ARCH , jump_table_density = 100 ),
51
50
LinkerOptions (arch = ARCH , no_cache = True ),
52
51
],
53
52
)
0 commit comments