Remove unused variable
Signed-off-by: nscipione <nicolo.scipione@codeplay.com>
This commit is contained in:
parent
b0f14c5c2a
commit
d8956a4ce3
1 changed files with 0 additions and 1 deletions
|
@ -1207,7 +1207,6 @@ struct ggml_sycl_pool_host : public ggml_sycl_pool {
|
||||||
void * alloc(size_t size, size_t * actual_size) override {
|
void * alloc(size_t size, size_t * actual_size) override {
|
||||||
if (counter == MAX_POOL_SIZE) {
|
if (counter == MAX_POOL_SIZE) {
|
||||||
ggml_sycl_buffer b = buffer_pool[0];
|
ggml_sycl_buffer b = buffer_pool[0];
|
||||||
size_t look_ahead_size = (size_t) (1.05 * size);
|
|
||||||
void * ptr = b.ptr;
|
void * ptr = b.ptr;
|
||||||
*actual_size = b.size;
|
*actual_size = b.size;
|
||||||
counter = 1;
|
counter = 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue