Skip to content

kernels_m ​

Cookbook, kernels: procedures with device dummy arguments.

Source: src/third_party/FUNDAL/docs/examples/snippets/kernels.F90

Dependencies

Contents ​

Subroutines ​

scale_mapped ​

Scale an array mapped to the device by dev_alloc_unstr: present, not deviceptr.

fortran
subroutine scale_mapped(a, factor)

Arguments

NameTypeIntentAttributesDescription
areal(kind=R8P)inout
factorreal(kind=R8P)in