pub fn sequence_gpu_preference(
len: usize,
intent: SequenceIntent,
explicit_gpu_input: bool,
) -> ResidencyDecisionExpand description
Decide whether a sequence of len elements for the supplied intent should
prefer GPU residency.
explicit_gpu_input should be true when any of the arguments already
reside on the GPU (for example, gpuArray.linspace(...)).