-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
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
Illegal Instruction vinserti128 in set_host_implementation #371
Comments
AVX2 is detected as not available ...
|
Also expand definitions for dataspace with two positional arguments. Pin Blosc_jll to 1.21.2 if AVX2 is not detected. See Blosc/c-blosc#371
Hi, yes looking at the diff, it's most likely related to PR #352. PR #352 is a fix for PR #347 which was included in c-blosc v1.21.2 and PR #347 makes some changes to the way AVX2 related macros are used (and was disabling AVX2... thus the fix in PR #352). @mkitti did you or could you check with a version of c-blosc<v1.21.2? |
1.21.1 and 1.21.0 both work fine. |
Thanks for the testing! In #347 (comment) I proposed an alternative to modifying shuffle.c and compiling it with
@FrancescAlted if you think it is a good solution, I can propose a PR. |
This is from
At |
Yes, I do think now it that we have @mkitti in the loop for testing, it is a good time to address this. Please proceed when you have the opportunity. Thanks! |
* Fix #1083 maxdims -> max_dims in dataspace documentation * Fix #1084, create_dataset with Type and Dataspace Also expand definitions for dataspace with two positional arguments. Pin Blosc_jll to 1.21.2 if AVX2 is not detected. See Blosc/c-blosc#371 * Formatter
I am having the same problem under unbuntu22 on VirtualBox. |
I believe this is the corresponding PR: |
…uliaIO#1086) * Fix JuliaIO#1083 maxdims -> max_dims in dataspace documentation * Fix JuliaIO#1084, create_dataset with Type and Dataspace Also expand definitions for dataspace with two positional arguments. Pin Blosc_jll to 1.21.2 if AVX2 is not detected. See Blosc/c-blosc#371 * Formatter
* Fix _typed_load fast path for Julia 1.10 (currently nightly) (#1075) * Fix _typed_load fast path for Julia 1.10 (currently nightly) by thresholding on `1.10.0-DEV.1390` * Use `Libc.memcpy` after that threshold * Add initial support for H5Dchunk_iter (#1031) * Add initial support for H5Dchunk_iter * Implement h5d_chunk_iter_helper * Implement HDF5.get_all_chunk_info * Make tests pass via HDF5 1.14.0 * Apply formatting * Test filters with filter_mask via H5Dchunk_iter * Require functions to return an integer * Provide index based chunk iteration, rename to HDF5.get_chunk_info_all * Fix formatting * Fix documentation * Fix documentation * Improve testing * Always define _get_chunk_info_all_by_iter for documenter * Update src/datasets.jl Co-authored-by: Simon Byrne <[email protected]> * Precompile get_chunk_info_all implementations before benchmarking * Fix documentation * Fix tests * Formatting --------- Co-authored-by: Simon Byrne <[email protected]> * Simplify formatter check (#1078) This will display the diff, and return a non-zero exit code if there are changes * Fix #1083 maxdims -> max_dims in dataspace documentation (#1085) * Update light and dark logos for readme (#1087) * Fixup readme logo links and readme style (#1088) * Fixup readme logo links and readme style * Tweak * Tweak logo centering * Upload curves directly instead of fonts for logo independence (#1089) * Allow create_dataset to take a Type and Dataspace, Fix #1084 (#1086) * Fix #1083 maxdims -> max_dims in dataspace documentation * Fix #1084, create_dataset with Type and Dataspace Also expand definitions for dataspace with two positional arguments. Pin Blosc_jll to 1.21.2 if AVX2 is not detected. See Blosc/c-blosc#371 * Formatter * Attempt to fix documentation (#1091) * doc typo: attributes(parent), not attribute(parent) (#1095) * Fix tests for Julia 1.3 * Fix tests for Julia 1.3, Windows SZIP is broken again * Use static if block to fix 1.3 * Fix version and formatting * Fix tests * Bump version to 0.16.16 * Formatting --------- Co-authored-by: Simon Byrne <[email protected]> Co-authored-by: Mustafa M <[email protected]> Co-authored-by: Steven G. Johnson <[email protected]>
can this be closed? |
Yes. |
When using c-blosc from Julia, I encountered the following problem with c-blosc 1.21.4. I do not encounter the issue with c-blosc 1.21.2.
This is due to the instruction
vinserti128
according to gdb'slayout asm
.vinserti128
is an AVX2 instruction.https://www.felixcloutier.com/x86/vinserti128:vinserti32x4:vinserti64x2:vinserti32x8:vinserti64x4
I encountered this on an old machine using an AMD FX-8350 processor which lacks AVX2:
The text was updated successfully, but these errors were encountered: