Update Context::blitMemoryToAllocation function

Change-Id: I5f81cb023b75e82bd3aff8e393f6b9463c767112
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2020-07-10 17:04:42 +02:00
parent f3f464801c
commit 2912cebbd4
20 changed files with 158 additions and 85 deletions

View File

@@ -28,12 +28,6 @@ class SharingFunctions;
class SVMAllocsManager;
class SchedulerKernel;
enum class BlitOperationResult {
Unsupported,
Fail,
Success
};
template <>
struct OpenCLObjectMapper<_cl_context> {
typedef class Context DerivedType;
@@ -136,8 +130,6 @@ class Context : public BaseObject<_cl_context> {
ContextType peekContextType() const { return contextType; }
MOCKABLE_VIRTUAL BlitOperationResult blitMemoryToAllocation(MemObj &memObj, GraphicsAllocation *memory, void *hostPtr, Vec3<size_t> size) const;
SchedulerKernel &getSchedulerKernel();
bool isDeviceAssociated(const ClDevice &clDevice) const;

View File

@@ -16,7 +16,4 @@ cl_int Context::processExtraProperties(cl_context_properties propertyType, cl_co
return CL_INVALID_PROPERTY;
}
BlitOperationResult Context::blitMemoryToAllocation(MemObj &memObj, GraphicsAllocation *memory, void *hostPtr, Vec3<size_t> size) const {
return BlitOperationResult::Unsupported;
}
} // namespace NEO