P4 to Git Change 1562330 by gandryey@gera-w8 on 2018/05/31 14:48:10
SWDEV-79445 - OCL generic changes and code clean-up
- Restore reatain/release methods in the device object, removed in CL#1398097. There is a crash in the old SHOC11_DeviceMemory test on TC.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#305 edit
[ROCm/clr commit: 97223251ca]
Этот коммит содержится в:
@@ -1417,6 +1417,18 @@ class Device : public RuntimeObject {
|
||||
//! Initializes abstraction layer device object
|
||||
bool create();
|
||||
|
||||
uint retain() {
|
||||
// Overwrite the RuntimeObject::retain().
|
||||
// There is an issue in the old SHOC11_DeviceMemory test on TC
|
||||
return 0u;
|
||||
}
|
||||
|
||||
uint release() {
|
||||
// Overwrite the RuntimeObject::release().
|
||||
// There is an issue in the old SHOC11_DeviceMemory test on TC
|
||||
return 0u;
|
||||
}
|
||||
|
||||
//! Register a device as available
|
||||
void registerDevice();
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user