fix: TFLiteGPURunner crash on Linux when use_advanced_gpu_api is true
This commit is contained in:
parent
1faeaae7e5
commit
2eb19b739d
|
@ -252,8 +252,10 @@ absl::Status TFLiteGPURunner::InitializeOpenCL(
|
|||
MP_RETURN_IF_ERROR(cl_environment_->NewInferenceBuilder(
|
||||
cl_options, std::move(graph_cl), builder));
|
||||
|
||||
#endif // __ANDROID__
|
||||
return absl::OkStatus();
|
||||
#else
|
||||
return mediapipe::UnimplementedError("Currently only Android is supported");
|
||||
#endif // __ANDROID__
|
||||
}
|
||||
|
||||
#ifdef __ANDROID__
|
||||
|
|
Loading…
Reference in New Issue
Block a user