[v0.11] Working in master GPU handler for supporting diverse GPU vendors
This commit is contained in:
@@ -42,6 +42,10 @@ int print_gpus_list_deprecated() {
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
bool print_gpu_cuda(struct gpu_info* gpu) {
|
||||
return false;
|
||||
}
|
||||
|
||||
struct cache* get_cache_info(cudaDeviceProp prop) {
|
||||
struct cache* cach = (struct cache*) emalloc(sizeof(struct cache));
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "../common/gpu.hpp"
|
||||
|
||||
struct gpu_info* get_gpu_info_cuda(int gpu_idx);
|
||||
bool print_gpu_cuda(struct gpu_info* gpu);
|
||||
char* get_str_sm(struct gpu_info* gpu);
|
||||
char* get_str_cores_sm(struct gpu_info* gpu);
|
||||
char* get_str_cuda_cores(struct gpu_info* gpu);
|
||||
|
||||
Reference in New Issue
Block a user