compute-runtime/runtime/mem_obj/mem_obj_helper.cpp

25 lines
505 B
C++
Raw Normal View History

/*
* Copyright (C) 2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/mem_obj/mem_obj_helper.h"
namespace OCLRT {
bool MemObjHelper::checkExtraMemFlagsForBuffer(cl_mem_flags flags) {
return false;
}
AllocationFlags MemObjHelper::getAllocationFlags(cl_mem_flags flags, bool allocateMemory) {
return AllocationFlags(allocateMemory);
}
DevicesBitfield MemObjHelper::getDevicesBitfield(cl_mem_flags flags) {
return DevicesBitfield(0);
}
} // namespace OCLRT