We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#if defined(AVX) && !defined(F16C) __m256 _mm256_cvtph_ps(__m128i x) { ggml_fp16_t const * src = (ggml_fp16_t const *)&x; float dst[8]; for (int i = 0; i < 8; ++i) dst[i] = GGML_FP16_TO_FP32(src[i]); return (__m256)&dst; } __m128i _mm256_cvtps_ph(__m256 x, int imm) { float const * src = (float const *)&x; ggml_fp16_t dst[8]; for (int i = 0; i < 8; ++i) dst[i] = GGML_FP32_TO_FP16(src[i]); return (__m128i)&dst; } #endif
The text was updated successfully, but these errors were encountered:
Merge pull request ggml-org#481 from c0sogi/main
365d9a4
Added `RouteErrorHandler` for server
No branches or pull requests
#if defined(AVX) && !defined(F16C)
__m256 _mm256_cvtph_ps(__m128i x) {
ggml_fp16_t const * src = (ggml_fp16_t const *)&x;
float dst[8];
for (int i = 0; i < 8; ++i)
dst[i] = GGML_FP16_TO_FP32(src[i]);
return (__m256)&dst;
}
__m128i _mm256_cvtps_ph(__m256 x, int imm) {
float const * src = (float const *)&x;
ggml_fp16_t dst[8];
for (int i = 0; i < 8; ++i)
dst[i] = GGML_FP32_TO_FP16(src[i]);
return (__m128i)&dst;
}
#endif
The text was updated successfully, but these errors were encountered: