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: README.md
+15-10Lines changed: 15 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Installation
7
7
--------
8
8
9
9
> [!NOTE]
10
-
> The compiled binary packages support compute capability 6.0 and later (Pascal and later, such as Tesla P100, RTX 10 series and later).
10
+
> The compiled binary packages support compute capability 7.0 and later (Volta and later, such as Tesla V100, RTX 20 series and later).
11
11
12
12
Run ```nvcc --version``` in your terminal to check the installed CUDA toolkit version. Then, choose the proper package based on your CUDA toolkit version.
Copy file name to clipboardExpand all lines: gpu4pyscf/lib/gvhf-rys/rys_jk_driver.cu
+20-20Lines changed: 20 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -135,8 +135,8 @@ int RYS_build_j(double *vj, double *dm, int n_dm, int nao,
135
135
printf("Failed in cudaFuncGetAttributes(), attribute value is not reliable\n"); fflush(stdout);
136
136
}
137
137
if (buflen*sizeof(double) > attributes.maxDynamicSharedSizeBytes) {
138
-
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
139
-
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
138
+
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
139
+
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stderr);
140
140
}
141
141
}
142
142
@@ -152,8 +152,8 @@ int RYS_build_j(double *vj, double *dm, int n_dm, int nao,
152
152
printf("Failed in cudaFuncGetAttributes(), attribute value is not reliable\n"); fflush(stdout);
153
153
}
154
154
if (buflen*sizeof(double) > attributes.maxDynamicSharedSizeBytes) {
155
-
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
156
-
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
155
+
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
156
+
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stderr);
157
157
}
158
158
}
159
159
@@ -168,7 +168,7 @@ int RYS_build_j(double *vj, double *dm, int n_dm, int nao,
168
168
printf("Failed also in cudaGetDevice(), device_id value is not reliable\n"); fflush(stdout);
@@ -234,8 +234,8 @@ int RYS_build_jk(double *vj, double *vk, double *dm, int n_dm, int nao,
234
234
printf("Failed in cudaFuncGetAttributes(), attribute value is not reliable\n"); fflush(stdout);
235
235
}
236
236
if (buflen*sizeof(double) > attributes.maxDynamicSharedSizeBytes) {
237
-
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
238
-
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
237
+
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
238
+
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stderr);
239
239
}
240
240
}
241
241
@@ -249,7 +249,7 @@ int RYS_build_jk(double *vj, double *vk, double *dm, int n_dm, int nao,
249
249
printf("Failed also in cudaGetDevice(), device_id value is not reliable\n"); fflush(stdout);
@@ -314,8 +314,8 @@ int RYS_build_jk_ip1(double *vj, double *vk, double *dm, int n_dm, int nao, int
314
314
printf("Failed in cudaFuncGetAttributes(), attribute value is not reliable\n"); fflush(stdout);
315
315
}
316
316
if (buflen*sizeof(double) > attributes.maxDynamicSharedSizeBytes) {
317
-
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
318
-
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
317
+
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
318
+
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stderr);
319
319
}
320
320
}
321
321
@@ -329,7 +329,7 @@ int RYS_build_jk_ip1(double *vj, double *vk, double *dm, int n_dm, int nao, int
329
329
printf("Failed also in cudaGetDevice(), device_id value is not reliable\n"); fflush(stdout);
printf("Failed in cudaFuncGetAttributes(), attribute value is not reliable\n"); fflush(stdout);
401
401
}
402
402
if (buflen*sizeof(double) > attributes.maxDynamicSharedSizeBytes) {
403
-
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
404
-
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
403
+
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
404
+
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stderr);
printf("Failed in cudaFuncGetAttributes(), attribute value is not reliable\n"); fflush(stdout);
487
487
}
488
488
if (buflen*sizeof(double) > attributes.maxDynamicSharedSizeBytes) {
489
-
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
490
-
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
489
+
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
490
+
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stderr);
printf("Failed in cudaFuncGetAttributes(), attribute value is not reliable\n"); fflush(stdout);
574
574
}
575
575
if (buflen*sizeof(double) > attributes.maxDynamicSharedSizeBytes) {
576
-
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
577
-
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %d > set max value (attributes.maxDynamicSharedSizeBytes) = %d\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
576
+
printf("Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stdout);
577
+
fprintf(stderr, "Dynamic shared memory size in used (buflen*sizeof(double)) = %zu > set max value (attributes.maxDynamicSharedSizeBytes) = %zu\n", buflen*sizeof(double), attributes.maxDynamicSharedSizeBytes); fflush(stderr);
0 commit comments