This commit is contained in:
Neo Zhang 2024-07-02 13:08:56 +08:00
parent 0f98e44cd0
commit 776275cf9c

View file

@ -48,11 +48,6 @@ static int g_ggml_sycl_debug = 0;
} \
}()
// #define DEBUG_SYCL_MALLOC
static int g_work_group_size = -1;
// typedef sycl::half ggml_fp16_t;
#define __SYCL_ARCH__ DPCT_COMPATIBILITY_TEMP
#define VER_4VEC 610 // todo for hardward optimize.
#define VER_GEN9 700 // todo for hardward optimize.
@ -168,8 +163,6 @@ int get_current_device_id();
(void)bad_arch; // suppress unused function warning
}
int get_current_device_id();
inline dpct::err0 ggml_sycl_set_device(const int device_id) try {
int current_device_id;