mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-16 11:59:42 +00:00
Merge branch 'master' into concedo_experimental
This commit is contained in:
commit
19dbb3b2a5
2 changed files with 6 additions and 1 deletions
4
ggml.c
4
ggml.c
|
@ -11890,7 +11890,11 @@ typedef int ggml_lock_t;
|
|||
|
||||
#define ggml_lock_init(x) UNUSED(x)
|
||||
#define ggml_lock_destroy(x) UNUSED(x)
|
||||
#if defined(__x86_64__) || (defined(_MSC_VER) && defined(_M_AMD64))
|
||||
#define ggml_lock_lock(x) _mm_pause()
|
||||
#else
|
||||
#define ggml_lock_lock(x) UNUSED(x)
|
||||
#endif
|
||||
#define ggml_lock_unlock(x) UNUSED(x)
|
||||
|
||||
#define GGML_LOCK_INITIALIZER 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue