This clamps the values of an integer list:
The above is equivalent to
Map:
The clamp values can be made explicit:
The input can be floating point:
The input can be an image, which is interpreted as a list of integers:
The
high clamp parameter can be omitted:
The input can be
CUDAMemory. This loads a list using
CUDAMemoryLoad:
This clamps the values between

and

:
The memory returned can be retrieved using
CUDAMemoryGet: