Skip to content

Commit bd79c94

Browse files
fix compiler warning
1 parent 844f4fd commit bd79c94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-cuda.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5139,7 +5139,7 @@ void ggml_init_cublas() {
51395139
for (int64_t id = 0; id < g_device_count; ++id) {
51405140
cudaDeviceProp prop;
51415141
CUDA_CHECK(cudaGetDeviceProperties(&prop, id));
5142-
fprintf(stderr, " Device %d: %s, compute capability %d.%d\n", id, prop.name, prop.major, prop.minor);
5142+
fprintf(stderr, " Device %ld: %s, compute capability %d.%d\n", id, prop.name, prop.major, prop.minor);
51435143

51445144
g_tensor_split[id] = total_vram;
51455145
total_vram += prop.totalGlobalMem;

0 commit comments

Comments
 (0)