Skip to content

Commit

Permalink
fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesGaessler committed Sep 11, 2023
1 parent 844f4fd commit bd79c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml-cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -5139,7 +5139,7 @@ void ggml_init_cublas() {
for (int64_t id = 0; id < g_device_count; ++id) {
cudaDeviceProp prop;
CUDA_CHECK(cudaGetDeviceProperties(&prop, id));
fprintf(stderr, " Device %d: %s, compute capability %d.%d\n", id, prop.name, prop.major, prop.minor);
fprintf(stderr, " Device %ld: %s, compute capability %d.%d\n", id, prop.name, prop.major, prop.minor);

g_tensor_split[id] = total_vram;
total_vram += prop.totalGlobalMem;
Expand Down

0 comments on commit bd79c94

Please sign in to comment.