Cycles: Enable HIP-RT logging when debug log is on
These logs do not appear to be that noisy and do help nailing down issues in HIP-RT. Pull Request: https://projects.blender.org/blender/blender/pulls/135530
This commit is contained in:
committed by
Sergey Sharybin
parent
21bd7ec180
commit
3f6fca4297
@@ -100,7 +100,12 @@ HIPRTDevice::HIPRTDevice(const DeviceInfo &info,
|
||||
return;
|
||||
}
|
||||
|
||||
hiprtSetLogLevel(hiprtLogLevelNone);
|
||||
if (VLOG_DEBUG_IS_ON) {
|
||||
hiprtSetLogLevel(hiprtLogLevelInfo | hiprtLogLevelWarn | hiprtLogLevelError);
|
||||
}
|
||||
else {
|
||||
hiprtSetLogLevel(hiprtLogLevelNone);
|
||||
}
|
||||
}
|
||||
|
||||
HIPRTDevice::~HIPRTDevice()
|
||||
|
||||
Reference in New Issue
Block a user