Open
Description
I'm encountering an issue on GPU when creating FabArray
s of BaseFab
s that use a non-int
, non-amrex::Real
template argument. For instance the following line:
amrex::FabArray<amrex::BaseFab<model_type> > mytmpmodel;
mytmpmodel.define(grid,dm,1,2);
where model_type
is a custom non-POD class. The define statement produces the runtime error
amrex::Abort::0::CUDA error in file amrex/3d-debug-cuda-g++//include/AMReX_GpuDevice.H line 150 unspecified launch failure !!!
It works fine if I replace model_type
with amrex::Real
. I'm wondering if it is possible to use such class-templated MultiFab
s on GPU, or if it is a limitation.