Update ggml/src/ggml-sycl.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
68c838e164
commit
bd4d1221d9
1 changed files with 1 additions and 1 deletions
|
@ -1180,7 +1180,7 @@ struct ggml_sycl_pool_leg : public ggml_sycl_pool {
|
||||||
CHECK_TRY_ERROR(ptr = (void *)sycl::malloc_device(
|
CHECK_TRY_ERROR(ptr = (void *)sycl::malloc_device(
|
||||||
look_ahead_size, *qptr)));
|
look_ahead_size, *qptr)));
|
||||||
if (!ptr) {
|
if (!ptr) {
|
||||||
GGML_LOG_ERROR("%s: can't malloc %lu Bytes memory on device", __func__, look_ahead_size);
|
GGML_LOG_ERROR("%s: can't malloc %lu Bytes memory on device\n", __func__, look_ahead_size);
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue