I have a 2D array and I want to find the minimum value along each row (i.e dimension 2). This is part of a larger function which I am implementing on a GPU so I would like to do this on the GPU as well. However the implementation of the min function will only perform a bitwise comparison of two arrays. Does any one have any suggestions of how I could do this without gathering the array back to the CPU?
Thanks for your help, Sarah
PS I don't know if this possible in Jacket but I don't have it or finances to buy it