Skip to content

Commit

Permalink
test: aarch64: Fix unimplemented error when --cpu-isa-hints=prefer_ym…
Browse files Browse the repository at this point in the history
…m on aarch64

When running with --cpu-isa-hints=prefer_ymm, tests fail on aarch64 due to an unimplmented error. This change will instead allow the code to run the reference implementations.

Reproducible:
```
./tests/benchdnn/benchdnn --conv --cpu-isa-hints=prefer_ymm --dt=bf16:bf16:bf16 --stag=axb --dtag=axb --attr-post-ops=sum+tanh:1:1 g1ic64ih1000oc64oh1000kh3ph128dh127
```

Change-Id: Ibf075ad71da0b870002c8cbfc3fefcaa883ef9b6
  • Loading branch information
Ryo-not-rio committed Nov 12, 2024
1 parent 1712f97 commit b8d3cd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cpu/platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ status_t set_max_cpu_isa(dnnl_cpu_isa_t isa) {
status_t set_cpu_isa_hints(dnnl_cpu_isa_hints_t isa_hints) {
#if DNNL_X64
return x64::set_cpu_isa_hints(isa_hints);
#elif DNNL_AARCH64
return status::success;
#else
return status::unimplemented;
#endif
Expand Down

0 comments on commit b8d3cd8

Please sign in to comment.