|
|
|
@@ -551,6 +551,16 @@ public: |
|
|
|
|
|
|
|
NCNN_EXPORT int resolve_shader_info(const uint32_t* spv_data, size_t spv_data_size, ShaderInfo& shader_info); |
|
|
|
|
|
|
|
} // namespace ncnn |
|
|
|
#else |
|
|
|
namespace ncnn { |
|
|
|
|
|
|
|
NCNN_EXPORT int create_gpu_instance(const char* driver_path = 0); |
|
|
|
|
|
|
|
NCNN_EXPORT void destroy_gpu_instance(void); |
|
|
|
|
|
|
|
NCNN_EXPORT int get_gpu_count(void); |
|
|
|
|
|
|
|
} // namespace ncnn |
|
|
|
|
|
|
|
#endif // NCNN_VULKAN |
|
|
|
|