You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/gpu/utils.cu
+46-1
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,16 @@ int get_compute_capability(int d_idx, int *major, int *minor, int *ratioperf) {
52
52
}
53
53
54
54
55
-
voidget_gpu_info_c(unsignedint *n_gpus, int *gpu_percent_usage, unsignedlonglong *gpu_total_memory, unsignedlonglong *gpu_free_memory, char **gpu_name, int *majors, int *minors) {
55
+
voidget_gpu_info_c(unsignedint *n_gpus, int *gpu_percent_usage, unsignedlonglong *gpu_total_memory,
Copy file name to clipboardExpand all lines: src/swig/util/gpu.i
+16-4
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,11 @@
2
2
%{
3
3
externintcudaresetdevice(int wDev, int nDev);
4
4
externintget_compute_capability(int d_idx, int *major, int *minor, int *ratioperf);
5
-
externvoidget_gpu_info_c(unsignedint *n_gpus, int *gpu_percent_usage, unsignedlonglong *gpu_total_memory, unsignedlonglong *gpu_free_memory, char **gpu_name, int *majors, int *minors);
5
+
externvoidget_gpu_info_c(unsignedint *n_gpus, int *gpu_percent_usage,
externintget_compute_capability(int d_idx, int *major, int *minor, int *ratioperf);
51
-
externvoidget_gpu_info_c(unsignedint *n_gpus, int *gpu_percent_usage, unsignedlonglong *gpu_total_memory, unsignedlonglong *gpu_free_memory, char **gpu_name, int *majors, int *minors);
59
+
externvoidget_gpu_info_c(unsignedint *n_gpus, int *gpu_percent_usage,
0 commit comments