drjit icon indicating copy to clipboard operation
drjit copied to clipboard

Missing overload for Arm Neon intrinsics

Open flanggut opened this issue 2 years ago • 2 comments

Hi! I am evaluating if it is worth switching some code from enoki to drjit. I noticed that currently there is no packet overload for Neon intrinsics, i.e. something corresponding to enokis array_neon.h. Are you planning on adding this at a later point, or would you welcome some PRs adding this back?

flanggut avatar Aug 18 '22 15:08 flanggut

In Dr.Jit we swtiched to JIT compiled LLVM kernel that can be executed in parallel on CPU. This sorts of replaces the packet mode of Enoki for efficient vectorization.

This being said Dr.Jit still exposes the packets type as we find those convient in some cases. I am not sure onto why we dropped the support for Neon intrinsics. @wjakob will probably know better.

Speierers avatar Aug 19 '22 06:08 Speierers

Hi -- this fell under the table at some point because it didn't quite seem important enough given the strong focus on dynamic compilation. We would definitely be interested in a ported version of the NEON intrinsic backend.

wjakob avatar Aug 22 '22 07:08 wjakob