From e5a20cfaa02453882d9c8a3de1c0154942c27fcb Mon Sep 17 00:00:00 2001 From: foreman Date: Thu, 22 Mar 2018 18:18:21 -0400 Subject: [PATCH] P4 to Git Change 1530996 by gandryey@gera-w8 on 2018/03/22 18:11:14 SWDEV-79445 - OCL generic changes and code clean-up - Remove obsolete assert Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#55 edit [ROCm/clr commit: d6589a93b2495428b450fb6eab59d6c27143690a] --- projects/clr/rocclr/runtime/device/pal/palresource.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/clr/rocclr/runtime/device/pal/palresource.cpp b/projects/clr/rocclr/runtime/device/pal/palresource.cpp index 39af9b9283..9a1c94df76 100644 --- a/projects/clr/rocclr/runtime/device/pal/palresource.cpp +++ b/projects/clr/rocclr/runtime/device/pal/palresource.cpp @@ -1692,7 +1692,6 @@ void* Resource::map(VirtualGPU* gpu, uint flags, uint startLayer, uint numLayers } if (flags & ReadOnly) { - assert(!(flags & Discard) && "We can't use lock discard with read only!"); } if (flags & WriteOnly) {