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