Welcome to mirror list, hosted at ThFree Co, Russian Federation.

device.h « cuda « device « cycles « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8433ed16b16993c7c6d40f37edfc922f104a6a38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: Apache-2.0
 * Copyright 2011-2022 Blender Foundation */

#pragma once

#include "util/string.h"
#include "util/vector.h"

CCL_NAMESPACE_BEGIN

class Device;
class DeviceInfo;
class Profiler;
class Stats;

bool device_cuda_init();

Device *device_cuda_create(const DeviceInfo &info, Stats &stats, Profiler &profiler);

void device_cuda_info(vector<DeviceInfo> &devices);

string device_cuda_capabilities();

CCL_NAMESPACE_END