P4 to Git Change 1138047 by gandryey@gera-w8 on 2015/04/07 11:38:28

ECR #304775 - Some code clean-up
	- Remove amd::Context reference from the event object. Runtime can use queue to get the context for the limited number of use cases
	- User/GL events will keep the context as a member

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_event.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#120 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#91 edit
This commit is contained in:
foreman
2015-04-07 12:03:48 -04:00
rodzic c4bbb00b35
commit 458cca25ce
4 zmienionych plików z 28 dodań i 17 usunięć
+1 -1
Wyświetl plik
@@ -1543,7 +1543,7 @@ SvmBuffer::malloc(
}
void
SvmBuffer::free(Context& context, void* ptr)
SvmBuffer::free(const Context& context, void* ptr)
{
Remove(reinterpret_cast<uintptr_t>(ptr));
context.svmFree(ptr);