2018-09-05 16:10:26 +08:00
|
|
|
/*
|
2018-09-17 20:03:37 +08:00
|
|
|
* Copyright (C) 2018 Intel Corporation
|
2018-09-05 16:10:26 +08:00
|
|
|
*
|
2018-09-17 20:03:37 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-09-05 16:10:26 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "runtime/mem_obj/mem_obj_helper.h"
|
|
|
|
|
|
|
|
namespace OCLRT {
|
|
|
|
|
|
|
|
bool MemObjHelper::checkExtraMemFlagsForBuffer(cl_mem_flags flags) {
|
2018-09-22 02:24:13 +08:00
|
|
|
return false;
|
2018-09-05 16:10:26 +08:00
|
|
|
}
|
|
|
|
|
2018-09-17 20:03:37 +08:00
|
|
|
AllocationFlags MemObjHelper::getAllocationFlags(cl_mem_flags flags) {
|
|
|
|
return AllocationFlags(); // Initialized by default constructor
|
|
|
|
}
|
|
|
|
|
|
|
|
DeviceIndex MemObjHelper::getDeviceIndex(cl_mem_flags flags) {
|
|
|
|
return DeviceIndex(0);
|
|
|
|
}
|
|
|
|
|
2018-09-05 16:10:26 +08:00
|
|
|
} // namespace OCLRT
|