-
Notifications
You must be signed in to change notification settings - Fork 665
Closed
Description
I'm getting different outputs for this scenario which is mirrored in CPU and GPU: https://jsfiddle.net/robertleeplummerjr/qhx8k7da/20/
The kernel function looks like:
function newRunMe(a, b, c, lda, ldb, ldc, m, n, k) {
const cIndex = (ldc * this.thread.y) + this.thread.x;
let sum = c[cIndex] * this.constants.beta;
for (let i = 0; i < k; i++) {
const aIndex = (lda * i) + this.thread.x;
const bIndex = (ldb * this.thread.y) + i;
sum += a[aIndex] * this.constants.alpha * b[bIndex];
}
return sum;
}
Metadata
Metadata
Assignees
Labels
No labels