mirror of
https://github.com/Tencent/ncnn.git
synced 2026-10-24 09:45:20 +08:00
in-house vulkan loader (#5130)
* vulkan-driver-loader.md * static vulkan on apple
This commit is contained in:
+1
-1
@@ -1211,7 +1211,7 @@ PYBIND11_MODULE(ncnn, m)
|
||||
#endif //NCNN_STRING
|
||||
|
||||
#if NCNN_VULKAN
|
||||
m.def("create_gpu_instance", &create_gpu_instance);
|
||||
m.def("create_gpu_instance", &create_gpu_instance, py::arg("driver_path") = ((const char*)0));
|
||||
m.def("destroy_gpu_instance", &destroy_gpu_instance);
|
||||
m.def("get_gpu_count", &get_gpu_count);
|
||||
m.def("get_default_gpu_index", &get_default_gpu_index);
|
||||
|
||||
Reference in New Issue
Block a user