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