Utility methods
FiniteElementContainers.fec_dense_array — Method
fec_dense_array(
backend::KernelAbstractions.Backend,
size...
) -> Any
Create a dense array on $backend$ of default type.
FiniteElementContainers.fec_dense_array — Method
fec_dense_array(
_::KernelAbstractions.CPU,
_::Type{RT<:Number},
size...
) -> Any
Create a dense array on the host of arbitrary type $RT$.
FiniteElementContainers.to_backend — Method
to_backend(b::KernelAbstractions.Backend, x) -> Any
Move x onto the given KernelAbstractions backend. CPU is identity — CPU-built data already lives on the CPU backend. GPU backends (CUDABackend, ROCBackend) are provided by the CUDA / AMDGPU package extensions.
FiniteElementContainers.to_host — Method
to_host(x) -> Any
Move x onto the host.