@@ -64,7 +64,7 @@ def test_rpc_module():
6464 s [B ].pragma (xi , "parallel_barrier_when_finish" )
6565 f = tvm .build (s , [A , B ], target , name = "myadd_cpu" )
6666 path_dso_cpu = temp .relpath ("cpu_lib.so" )
67- f .export_library (path_dso_cpu , ndk .create_shared )
67+ f .export_library (path_dso_cpu , fcompile = ndk .create_shared )
6868
6969 # Execute the portable graph on cpu target
7070 print ("Run CPU test ..." )
@@ -88,7 +88,7 @@ def test_rpc_module():
8888 # If we don't want to do metal and only use cpu, just set target to be target
8989 f = tvm .build (s , [A , B ], tvm .target .Target ("opencl" , host = target ), name = "myadd" )
9090 path_dso_cl = temp .relpath ("dev_lib_cl.so" )
91- f .export_library (path_dso_cl , ndk .create_shared )
91+ f .export_library (path_dso_cl , fcompile = ndk .create_shared )
9292
9393 print ("Run GPU(OpenCL Flavor) test ..." )
9494 dev = remote .cl (0 )
@@ -111,7 +111,7 @@ def test_rpc_module():
111111 # If we don't want to do metal and only use cpu, just set target to be target
112112 f = tvm .build (s , [A , B ], tvm .target .Target ("vulkan" , host = target ), name = "myadd" )
113113 path_dso_vulkan = temp .relpath ("dev_lib_vulkan.so" )
114- f .export_library (path_dso_vulkan , ndk .create_shared )
114+ f .export_library (path_dso_vulkan , fcompile = ndk .create_shared )
115115
116116 print ("Run GPU(Vulkan Flavor) test ..." )
117117 dev = remote .vulkan (0 )
0 commit comments