Skip to content

Issue of 64 bit kernel with A64FX #3

@lwang-astro

Description

@lwang-astro

I tried to create the 64 bit kernel, but I got an error.

input file: input.64
output file name: kernel_epep_64.hpp
conversion type: A64FX
error: unsupported vector type of B64 for A64FX

It seems a typo exist, in the input.64, there is no B64.
Here is the input.64:

EPI F64vec xi:pos
EPI F64 rsi:rs

EPJ F64vec xj:pos
EPJ F64 mj:mass
EPJ F64 rsj:rs

FORCE F64vec acc:acc
FORCE F64 pot:pot
FORCE S64 nnbi:nnb

F64 eps2
F64 rcut2
F64 G

rij = xi - xj
r2 = rij*rij + eps2
r2_cut = max(r2,rcut2)
r_inv  = rsqrt(r2_cut)
r2_inv = r_inv * r_inv
mr_inv  = mj * r_inv
mr3_inv = r2_inv * mr_inv
if r2 < max(rsi*rsi,rsj*rsj)
  nnbi  += 1
  endif
acc -= mr3_inv * rij
pot -= mr_inv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions