ComputeSharp icon indicating copy to clipboard operation
ComputeSharp copied to clipboard

Minor errors in the sample code

Open imgits opened this issue 7 months ago • 0 comments

The code in file ComputeSharp/samples/ComputeSharp.Benchmark/Blas/BlasHelpers.cs at line 97:

int x_offset = (ThreadIds.X * n * p) + (ThreadIds.Y * m);

Should it be:

int x_offset = (ThreadIds.X * n * m) + (ThreadIds.Y * m);

That is, change 'p' to 'm'

imgits avatar Jun 28 '24 15:06 imgits