12 lines
246 B
C++
12 lines
246 B
C++
#ifndef __CUDA__
|
|
#define __CUDA__
|
|
|
|
#include "../common/gpu.hpp"
|
|
|
|
struct gpu_info* get_gpu_info();
|
|
int32_t get_str_sm(struct gpu_info* gpu);
|
|
int32_t get_str_cores_sm(struct gpu_info* gpu);
|
|
int32_t get_str_cuda_cores(struct gpu_info* gpu);
|
|
|
|
#endif
|