mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Update Context::blitMemoryToAllocation function
Change-Id: I5f81cb023b75e82bd3aff8e393f6b9463c767112 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user