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
This commit is contained in:
@@ -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];
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user