From 65b47104c7d15d201a213fce7652bfd00570872d Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 15 Jan 2020 19:38:07 -0500
Subject: [PATCH] P4 to Git Change 2057426 by vsytchen@vsytchen-ocl-win10-2 on
2020/01/15 19:27:36
SWDEV-79445 - OCL generic changes and code clean-up
Make the conversion from amd::Coord3D to size_t* be explicit.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/object.hpp#21 edit
---
rocclr/runtime/platform/object.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rocclr/runtime/platform/object.hpp b/rocclr/runtime/platform/object.hpp
index aa1fb9ba3c..67eead74ba 100644
--- a/rocclr/runtime/platform/object.hpp
+++ b/rocclr/runtime/platform/object.hpp
@@ -205,7 +205,7 @@ struct Coord3D {
bool operator==(const Coord3D& rhs) const {
return c[0] == rhs.c[0] && c[1] == rhs.c[1] && c[2] == rhs.c[2];
}
- operator size_t*() {
+ explicit operator size_t*() {
return &c[0];
}
};