mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
fix opencl kernel, see cpu implementation (last instructio)
This commit is contained in:
@@ -86,8 +86,12 @@ __kernel void corr_kernel(__global DATA_TYPE *symmat, __global DATA_TYPE *data,
|
||||
{
|
||||
symmat[j1*m + j2] += data[i*m + j1] * data[i*m + j2];
|
||||
}
|
||||
|
||||
symmat[j2*m + j1] = symmat[j1*m + j2];
|
||||
}
|
||||
}else
|
||||
{
|
||||
symmat[(m-1)*m + (m-1)] = 1.0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user