We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1b1d98 commit 1547ea2Copy full SHA for 1547ea2
ggml/src/ggml-impl.h
@@ -463,6 +463,12 @@ GGML_API void ggml_aligned_free(void * ptr, size_t size);
463
}
464
465
static inline float ggml_compute_fp16_to_fp32(ggml_fp16_t h) {
466
+ #ifdef __NNPA__
467
+ printf("%s: __NNPA__ is defined.\n");
468
+ #else
469
+ printf("%s: __NNPA__ is not defined.\n");
470
+ #endif
471
+
472
const uint32_t w = (uint32_t) h << 16;
473
const uint32_t sign = w & UINT32_C(0x80000000);
474
const uint32_t two_w = w + w;
0 commit comments