2018-09-05 10:10:26 +02:00
|
|
|
/*
|
2018-09-17 14:03:37 +02:00
|
|
|
* Copyright (C) 2018 Intel Corporation
|
2018-09-05 10:10:26 +02:00
|
|
|
*
|
2018-09-17 14:03:37 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-09-05 10:10:26 +02:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "runtime/mem_obj/mem_obj_helper.h"
|
|
|
|
|
|
|
|
|
|
namespace OCLRT {
|
|
|
|
|
|
|
|
|
|
bool MemObjHelper::checkExtraMemFlagsForBuffer(cl_mem_flags flags) {
|
2018-09-21 11:24:13 -07:00
|
|
|
return false;
|
2018-09-05 10:10:26 +02:00
|
|
|
}
|
|
|
|
|
|
2018-09-17 14:03:37 +02:00
|
|
|
AllocationFlags MemObjHelper::getAllocationFlags(cl_mem_flags flags) {
|
|
|
|
|
return AllocationFlags(); // Initialized by default constructor
|
|
|
|
|
}
|
|
|
|
|
|
2018-09-23 06:47:27 -07:00
|
|
|
DevicesBitfield MemObjHelper::getDevicesBitfield(cl_mem_flags flags) {
|
|
|
|
|
return DevicesBitfield(0);
|
2018-09-17 14:03:37 +02:00
|
|
|
}
|
|
|
|
|
|
2018-09-05 10:10:26 +02:00
|
|
|
} // namespace OCLRT
|