public static int cudnnReduceTensor ( cudnnHandle handle , cudnnReduceTensorDescriptor reduceTensorDesc , Pointer indices , long indicesSizeInBytes , Pointer workspace , long workspaceSizeInBytes , Pointer alpha , cudnnTensorDescriptor aDesc , Pointer A , Pointer beta , cudnnTensorDescriptor cDesc , Pointer C ) { return checkResult ( cudnnReduceTensorNative ( handle , reduceTensorDesc , indices , indicesSizeInBytes , workspace , workspaceSizeInBytes , alpha , aDesc , A , beta , cDesc , C ) ) ; }
The indices space is ignored for reduce ops other than min or max .