rebase
This commit is contained in:
parent
0f98e44cd0
commit
776275cf9c
1 changed files with 0 additions and 7 deletions
|
@ -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 __SYCL_ARCH__ DPCT_COMPATIBILITY_TEMP
|
||||||
#define VER_4VEC 610 // todo for hardward optimize.
|
#define VER_4VEC 610 // todo for hardward optimize.
|
||||||
#define VER_GEN9 700 // 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
|
(void)bad_arch; // suppress unused function warning
|
||||||
}
|
}
|
||||||
|
|
||||||
int get_current_device_id();
|
|
||||||
|
|
||||||
inline dpct::err0 ggml_sycl_set_device(const int device_id) try {
|
inline dpct::err0 ggml_sycl_set_device(const int device_id) try {
|
||||||
|
|
||||||
int current_device_id;
|
int current_device_id;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue