fix out-of-bounds in AMD version of VectorAdd
This commit is contained in:
@@ -300,9 +300,10 @@ int main(int argc, char **argv)
|
||||
{
|
||||
num_t++;
|
||||
//this can cause problems -> processing outside of the buffer
|
||||
//make sure to check kernel
|
||||
}
|
||||
|
||||
size_t globalThreads[] = {actualGlobalSize};//num_t * workgroupSize};
|
||||
size_t globalThreads[] = {num_t * workgroupSize};
|
||||
size_t localThreads[] = {workgroupSize};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user