Skip to content

Commit

Permalink
ggml : fixed check for _MSC_VER (ggerganov#4535)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Sommerlade <[email protected]>
  • Loading branch information
es0m and es0m-msft authored Dec 19, 2023
1 parent a7aee47 commit 328b83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 328b83d

Please sign in to comment.