Conversation
Summary: As titled. Was falling back on xtensa. Adds a few fixes to some operators to enable the build for all cases. Differential Revision: D94179206
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/17676
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New FailuresAs of commit 8c489a0 with merge base 7cdd975 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@mcremon-meta has exported this pull request. If you are a Meta employee, you can view the originating Diff in D94179206. |
This PR needs a
|
|
@dijopaul @cad-audio can you take a look please? :) |
| #include "xa_nnlib_err_chk.h" | ||
|
|
||
| // HiFi1 compatibility: int32_rtor_xtbool2 is not available on HiFi1 | ||
| #ifndef int32_rtor_xtbool2 |
There was a problem hiding this comment.
I think this is not needed. Can remove this line
xtbool2 con = int32_rtor_xtbool2(0x00000003);
the vaiable not used
|
|
||
| // HiFi1 compatibility: AE_MOVAB is not available on HiFi1 | ||
| #ifndef AE_MOVAB | ||
| static inline unsigned char AE_MOVAB(xtbool b) { |
There was a problem hiding this comment.
Can use the below code
#ifndef AE_MOVAB
#ifdef AE_MOVAB1
#define AE_MOVAB AE_MOVAB1
#else
#define AE_MOVAB(x) (x)
#endif
#endif
#ifndef AE_MOVAB2
#define AE_MOVAB2(x) (x)
#endif
The root cause here is that we are using local implementations outside nnlib (which is hifi4 specific). The latest nnlib has all these implementation inside including hifi1 support. So better solution is to upgrade to latest nnlib and avoid these local files. We will make a PR for the same. This may involve some changes in API calls as well due to minor changes in API names. |
Summary:
As titled. Was falling back on xtensa.
Adds a few fixes to some operators to enable the build for all cases.
Differential Revision: D94179206