P4 to Git Change 1977252 by vsytchen@vsytchen-remote-ocl-win10 on 2019/08/01 16:47:20
SWDEV-197026 - GpuToGpuCL_VS2015 test terminates upon launching
1. Since amd::buffer inherits from amd::memory, make sure that the methods it overwrites have the same signature as it's parent's.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/17769/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#138 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#111 edit
[ROCm/clr commit: fe6915a1bb]
이 커밋은 다음에 포함됨:
1 부모
50fb820978
커밋
d88b784edc
2 파일이 변경됨
+4
-3
검색과 일치하는 파일 없음
@@ -478,7 +478,7 @@ void Buffer::initDeviceMemory() {
|
||||
memset(deviceMemories_, 0, NumDevicesWithP2P() * sizeof(DeviceMemory));
|
||||
}
|
||||
|
||||
bool Buffer::create(void* initFrom, bool sysMemAlloc, bool skipAlloc) {
|
||||
bool Buffer::create(void* initFrom, bool sysMemAlloc, bool skipAlloc, bool forceAlloc) {
|
||||
if ((getMemFlags() & CL_MEM_EXTERNAL_PHYSICAL_AMD) && (initFrom != NULL)) {
|
||||
busAddress_ = *(reinterpret_cast<cl_bus_address_amd*>(initFrom));
|
||||
initFrom = NULL;
|
||||
@@ -486,7 +486,7 @@ bool Buffer::create(void* initFrom, bool sysMemAlloc, bool skipAlloc) {
|
||||
busAddress_.surface_bus_address = 0;
|
||||
busAddress_.marker_bus_address = 0;
|
||||
}
|
||||
return Memory::create(initFrom, sysMemAlloc, skipAlloc);
|
||||
return Memory::create(initFrom, sysMemAlloc, skipAlloc, forceAlloc);
|
||||
}
|
||||
|
||||
bool Buffer::isEntirelyCovered(const Coord3D& origin, const Coord3D& region) const {
|
||||
|
||||
새 이슈에서 참조
사용자 차단