예제 #1
0
 def test_cpu():
     ret = ti.call_internal("test_internal_func_args", 1.0, 2.0, 3)
     assert ret == 9
예제 #2
0
 def test():
     for _ in range(10):
         ti.call_internal("do_nothing")
예제 #3
0
 def test():
     ti.call_internal("test_node_allocator")
예제 #4
0
 def test_cpu():
     ti.call_internal("test_node_allocator_gc_cpu")
예제 #5
0
 def test():
     ti.call_internal("test_list_manager")
예제 #6
0
 def test():
     ti.call_internal("refresh_counter")
예제 #7
0
 def func():
     ti.call_internal("test_stack")
예제 #8
0
 def test():
     for i in range(32):
         ti.call_internal("test_shfl")
예제 #9
0
 def test():
     for i in range(48):
         if i % 2 == 0:
             ti.call_internal("test_active_mask")