Skip to content

Commit

Permalink
fixed check for _MSC_VER
Browse files Browse the repository at this point in the history
  • Loading branch information
es0m-msft committed Dec 19, 2023
1 parent a7aee47 commit 5e5f780
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 5e5f780

Please sign in to comment.