We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1d8162 commit 55539acCopy full SHA for 55539ac
source/loader/layers/sanitizer/asan_interceptor.hpp
@@ -45,17 +45,7 @@ struct DeviceInfo {
45
std::queue<std::shared_ptr<AllocInfo>> Quarantine;
46
size_t QuarantineSize = 0;
47
48
- explicit DeviceInfo(ur_device_handle_t Device) : Handle(Device) {
49
- [[maybe_unused]] auto Result =
50
- getContext()->urDdiTable.Device.pfnRetain(Device);
51
- assert(Result == UR_RESULT_SUCCESS);
52
- }
53
-
54
- ~DeviceInfo() {
55
56
- getContext()->urDdiTable.Device.pfnRelease(Handle);
57
58
+ explicit DeviceInfo(ur_device_handle_t Device) : Handle(Device) {}
59
60
ur_result_t allocShadowMemory(ur_context_handle_t Context);
61
};
0 commit comments