mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-10 05:49:51 +08:00
device directory is renamed to cl_device. Related-To: NEO-3938 Change-Id: I96794c82632d042da6814550597d805df7bb6436 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
27 lines
582 B
C++
27 lines
582 B
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "opencl/source/api/cl_types.h"
|
|
|
|
#include <vector>
|
|
|
|
namespace NEO {
|
|
class ClDevice;
|
|
|
|
class ClDeviceVector : public std::vector<ClDevice *> {
|
|
public:
|
|
ClDeviceVector() = default;
|
|
ClDeviceVector(const ClDeviceVector &) = default;
|
|
ClDeviceVector &operator=(const ClDeviceVector &) = default;
|
|
ClDeviceVector(const cl_device_id *devices,
|
|
cl_uint numDevices);
|
|
void toDeviceIDs(std::vector<cl_device_id> &devIDs);
|
|
};
|
|
|
|
} // namespace NEO
|