Пример #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")