P4 to Git Change 2010800 by axie@axie-hip-vdi-pal2 on 2019/10/09 12:09:28
SWDEV-198862 - Options for hip-clang-vdi path to provide the chicken bits, or functional equivalents to HCC_OPT_FLUSH Add HCC_OPT_FLUSH flag to use fence scope agent when possible for HIP VDI. The flag is defaulted to turn on, similiar to HIP HCC. Add AMD_OCL_OPT_FLUSH to use fence scope agent when possible for OpenCL. This was tested in Windows and PAL. Default is off. This flag can be used for future OpenCL test. Tests: 1. http://ocltc.amd.com:8111/viewModification.html?modId=127189&personal=true&tab=vcsModificationBuilds The teamcity test includes HIP - VDI - Rocm tests. 2. VEGA10 , Windows, HIP, 110 hiptests PASS. 3. VEGA10 , Linux AMDGPU PRO, HIP - PAL, 110 hiptests PASS. Newer: http://ocltc.amd.com:8111/viewModification.html?modId=127193&personal=true&tab=vcsModificationBuilds Reviewboard: http://ocltc.amd.com/reviews/r/18092/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#247 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#342 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#89 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#29 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#321 edit
This commit is contained in:
@@ -624,6 +624,8 @@ Settings::Settings() : value_(0) {
|
||||
if (amd::IS_HIP) {
|
||||
GPU_SINGLE_ALLOC_PERCENT = 100;
|
||||
}
|
||||
|
||||
fenceScopeAgent_ = AMD_OPT_FLUSH;
|
||||
}
|
||||
|
||||
void Memory::saveMapInfo(const void* mapAddress, const amd::Coord3D origin,
|
||||
|
||||
Reference in New Issue
Block a user