Internal change
PiperOrigin-RevId: 533327411
This commit is contained in:
committed by
Copybara-Service
parent
c248525eeb
commit
937a6b1422
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "mediapipe/gpu/gpu_shared_data_internal.h"
|
||||
|
||||
#include "absl/base/attributes.h"
|
||||
#include "mediapipe/framework/deps/no_destructor.h"
|
||||
#include "mediapipe/framework/port/ret_check.h"
|
||||
#include "mediapipe/gpu/gl_context.h"
|
||||
@@ -116,7 +117,7 @@ GpuResources::~GpuResources() {
|
||||
#endif // __APPLE__
|
||||
}
|
||||
|
||||
extern const GraphService<GpuResources> kGpuService;
|
||||
ABSL_CONST_INIT extern const GraphService<GpuResources> kGpuService;
|
||||
|
||||
absl::Status GpuResources::PrepareGpuNode(CalculatorNode* node) {
|
||||
CHECK(node->Contract().ServiceRequests().contains(kGpuService.key));
|
||||
|
||||
Reference in New Issue
Block a user