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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user