imate
C++/CUDA Reference
query_device.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: Copyright 2021, Siavash Ameli <sameli@berkeley.edu>
3
* SPDX-License-Identifier: BSD-3-Clause
4
* SPDX-FileType: SOURCE
5
*
6
* This program is free software: you can redistribute it and/or modify it
7
* under the terms of the license found in the LICENSE.txt file in the root
8
* directory of this source tree.
9
*/
10
11
#ifndef _CUDA_UTILITIES_QUERY_DEVICE_H_
12
#define _CUDA_UTILITIES_QUERY_DEVICE_H_
13
14
15
// =======
16
// Headers
17
// =======
18
19
#include "
./device_properties.h
"
20
21
22
// ============
23
// Declarations
24
// ============
25
26
void
query_device
(
DeviceProperties
& device_properties);
27
28
#endif
// _CUDA_UTILITIES_QUERY_DEVICE_H_
device_properties.h
query_device
void query_device(DeviceProperties &device_properties)
Queries GPU device information, such as the number of devices, number of multiprocessors,...
Definition:
query_device.cu:31
DeviceProperties
Properties of GPU devices.
Definition:
device_properties.h:24
imate
_cuda_utilities
query_device.h
Generated on Mon Jan 22 2024 00:04:57 for imate by
1.9.1