fixed check for _MSC_VER
This commit is contained in:
parent
a7aee47b98
commit
5e5f780b6c
1 changed files with 1 additions and 1 deletions
2
ggml.h
2
ggml.h
|
@ -303,7 +303,7 @@ extern "C" {
|
|||
|
||||
#if defined(__ARM_NEON) && defined(__CUDACC__)
|
||||
typedef half ggml_fp16_t;
|
||||
#elif defined(__ARM_NEON)
|
||||
#elif defined(__ARM_NEON) && !defined(_MSC_VER)
|
||||
typedef __fp16 ggml_fp16_t;
|
||||
#else
|
||||
typedef uint16_t ggml_fp16_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue