horde-ad icon indicating copy to clipboard operation
horde-ad copied to clipboard

Add an untyped ArrayFire backend and benchmark it vs hmatrix

Open Mikolaj opened this issue 2 years ago • 0 comments

See #43. The idea is to map the ArrayFire arrays to untyped orthotope tensors in the Domains and related types. For this early experiment, we can leave optimizers unchanged and using hmatrix in each case.

The benchmark would have variants using sequential hmatrix and parallel hmatrix (via flags read by the C/Fortran libraries) on CPU would also run the same ArrayFire-based code on GPU.

Eventually we'd prefer our code to be backend-independent, but that would require a general enough common representation. This may turn out to be ArrayFire, MLIR or something custom and higher level than MLIR. For now let's experiment with backends explicitly.

Mikolaj avatar Oct 06 '22 12:10 Mikolaj