File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1001,8 +1001,8 @@ void CodeGen_ARM::init_module() {
10011001 // TODO: https://github.com/halide/Halide/issues/8872
10021002 // if (target.features_any_of({Target::SVE, Target::SVE2})) {
10031003 if (target.has_feature (Target::SVE2)) {
1004- user_assert (target.vector_bits != 0 ) << " For SVE/SVE2 support, target_vector_bits=<size> must be set in target.\n " ;
1005- user_assert ((target.vector_bits % 128 ) == 0 ) << " For SVE/SVE2 support, target_vector_bits must be a multiple of 128.\n " ;
1004+ user_assert (target.vector_bits != 0 ) << " For SVE/SVE2 support, Target::vector_bits must be set. For generator target strings, add \" vector_bits_<bits> \" .\n " ;
1005+ user_assert ((target.vector_bits % 128 ) == 0 ) << " For SVE/SVE2 support, Target::vector_bits must be a multiple of 128.\n " ;
10061006 } else if (target.has_feature (Target::SVE)) {
10071007 user_warning << " Halide does not support SVE for now. Use SVE2 if your target device supports it.\n " ;
10081008 }
You can’t perform that action at this time.
0 commit comments