CNugteren / CLBlast

Tuned OpenCL BLAS
Apache License 2.0
1.06k stars 202 forks source link

What's the meaning of argument 'imax_offset' in clblast::Max()? #557

Closed diverger closed 4 months ago

diverger commented 4 months ago

Hi,

I think this offset is to tell where the index found should be stored in the given 'imax_buffer'. And the 'offset' is counted in elements count, but not bytes. But it always return wrong values if I pass non-zero value to it.

diverger commented 4 months ago

It seems the index type is fixed to 32-bit 'int' type.