Skip to main content

Module arrayfun

Module arrayfun 

Source
Expand description

MATLAB-compatible arrayfun builtin with GPU-aware semantics.

This implementation applies a scalar MATLAB function to every element of one or more array inputs. Supported builtin callbacks can dispatch directly for gpuArray inputs; other callbacks gather authoritative typed storage and re-upload uniform numeric or logical output.

Constantsยง

ARRAYFUN_DESCRIPTOR
ARRAYFUN_EXTENSIONS
ARRAYFUN_INTEGER_CAPABILITIES
FUSION_SPEC
GPU_SPEC