2023-06-14 16:52:36 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0 */
|
2021-09-28 16:51:14 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2021-10-24 14:19:19 +02:00
|
|
|
#include "util/string.h"
|
2024-12-29 23:13:45 +01:00
|
|
|
#include "util/unique_ptr.h"
|
2021-10-24 14:19:19 +02:00
|
|
|
#include "util/vector.h"
|
2021-09-28 16:51:14 +02:00
|
|
|
|
|
|
|
|
CCL_NAMESPACE_BEGIN
|
|
|
|
|
|
|
|
|
|
class Device;
|
|
|
|
|
class DeviceInfo;
|
|
|
|
|
class Profiler;
|
|
|
|
|
class Stats;
|
|
|
|
|
|
|
|
|
|
bool device_hip_init();
|
|
|
|
|
|
2024-12-29 23:13:45 +01:00
|
|
|
unique_ptr<Device> device_hip_create(const DeviceInfo &info,
|
|
|
|
|
Stats &stats,
|
|
|
|
|
Profiler &profiler,
|
|
|
|
|
bool headless);
|
2021-09-28 16:51:14 +02:00
|
|
|
|
|
|
|
|
void device_hip_info(vector<DeviceInfo> &devices);
|
|
|
|
|
|
|
|
|
|
string device_hip_capabilities();
|
|
|
|
|
|
2021-09-29 07:29:18 +10:00
|
|
|
CCL_NAMESPACE_END
|