Module arrayfun

Module arrayfun 

Source
Expand description

MATLAB-compatible arrayfun builtin with GPU-aware semantics.

This implementation supports applying a scalar MATLAB function to every element of one or more array inputs. When invoked with gpuArray inputs the builtin executes on the host today and uploads the uniform output back to the device so downstream code continues to see GPU residency. Future provider hooks can swap in a device kernel without affecting the public API.

Constantsยง

FUSION_SPEC
GPU_SPEC