mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 09:34:37 +00:00
fixed typo
This commit is contained in:
parent
680a41ed71
commit
a137b6b9ff
1 changed files with 2 additions and 2 deletions
|
@ -7414,7 +7414,7 @@ static void * ggml_v3_cuda_pool_malloc_vmm(int device, size_t size, size_t * act
|
|||
g_cuda_pool_used_v3[device] += size;
|
||||
|
||||
#ifdef DEBUG_CUDA_MALLOC
|
||||
printf("cuda pool[%d]: allocated %llu bytes at %llx [%s]\n", id, (unsigned long long) size, ptr);
|
||||
printf("cuda pool[%d]: allocated %llu bytes at %llx []\n", device, (unsigned long long) size, ptr);
|
||||
#endif
|
||||
|
||||
return ptr;
|
||||
|
@ -7424,7 +7424,7 @@ static void ggml_v3_cuda_pool_free_vmm(int device, void * ptr, size_t size) {
|
|||
scoped_spin_lock lock(g_cuda_pool_lock_v3);
|
||||
|
||||
#ifdef DEBUG_CUDA_MALLOC
|
||||
printf("cuda pool[%d]: freed %llu bytes at %llx\n", id, (unsigned long long) size, ptr);
|
||||
printf("cuda pool[%d]: freed %llu bytes at %llx\n", device, (unsigned long long) size, ptr);
|
||||
#endif
|
||||
|
||||
g_cuda_pool_used_v3[device] -= size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue