diff options
Diffstat (limited to 'src/gpu-compute/cl_driver.cc')
-rw-r--r-- | src/gpu-compute/cl_driver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu-compute/cl_driver.cc b/src/gpu-compute/cl_driver.cc index 3b3291c03..6bb6be102 100644 --- a/src/gpu-compute/cl_driver.cc +++ b/src/gpu-compute/cl_driver.cc @@ -238,7 +238,7 @@ ClDriver::ioctl(LiveProcess *process, ThreadContext *tc, unsigned req) case HSA_GET_VSZ: { BufferArg buf(buf_addr, sizeof(uint32_t)); - *((uint32_t*)buf.bufferPtr()) = VSZ; + *((uint32_t*)buf.bufferPtr()) = dispatcher->wfSize(); buf.copyOut(tc->getMemProxy()); } break; |