Skip to content

Commit

Permalink
remove duplicated extras
Browse files Browse the repository at this point in the history
  • Loading branch information
airMeng committed Jun 14, 2024
1 parent 996b35a commit c776fb8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ggml-sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11988,9 +11988,6 @@ static size_t ggml_nbytes_split(const struct ggml_tensor * tensor, int nrows_spl
return nrows_split*ggml_row_size(tensor->type, tensor->ne[0]);
}

static ggml_tensor_extra_gpu * g_temp_tensor_extras = nullptr;
static size_t g_temp_tensor_extra_index = 0;

void ggml_sycl_set_main_device(const int main_device) try {
if (dpct::get_current_device_id() == main_device) return;
check_allow_gpu_index(main_device);
Expand Down

0 comments on commit c776fb8

Please sign in to comment.