mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 03:14:35 +00:00
Make updates to type cast based on compiler instead of OS (#7851)
This commit is contained in:
parent
7c26775adb
commit
5b6da18750
@ -17,7 +17,7 @@
|
|||||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_MSC_VER)
|
||||||
|
|
||||||
#define m512bh(p) p
|
#define m512bh(p) p
|
||||||
#define m512i(p) p
|
#define m512i(p) p
|
||||||
|
Loading…
Reference in New Issue
Block a user