| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
This is interesting. I didn't know this parameter existed! I will test it on other devices and get back to you. Please, update the formatting of the code added and if possible please rebase your changes on top of master and removing the merge commit. Would also be nice if you could make the gitignore commit message more descriptive. Thanks |
Sorry, something went wrong.
Yes, for whatever reason, this isn't listed on online documentation of clGetDeviceInfo. However, it is present in the PDF specification sheets of versions 1.2, 2.2 and 3.0. So, it is not an extension or recent addition. |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good.
Sorry, something went wrong.
| int heightCheckLimit = | ||
| isIntel && getDeviceType() == CL_DEVICE_TYPE_GPU ? 3 : 6; | ||
| isIntel && device.getInfo<CL_DEVICE_TYPE>() == CL_DEVICE_TYPE_GPU ? 3 | ||
| : 6; |
There was a problem hiding this comment.
This and the earlier line as essentially identical as device returned
Sorry, something went wrong.
Values for opencl parameter maximum length were hardcoded. The maximum is now requested at the device, so that the correct value for all devices is used.
There was a problem hiding this comment.
Looks good and works for NVIDIA and AMD(Kaveri APU) for all tests except one which failed on both devices.
Random number quality test is failing for both my GTX 1060 with CUDA 11.1 and AMD API Kaveri APU. Not sure if it is a problem from PR or master yet. @umar456 Can you please confirm if this is a known issue or new one.
One minor change, can you please remove the isNvidia and isAmd variables that aren't used anymore. They appear in warnings now, they are declared in the lines 303, 305.
Thank you.
Sorry, something went wrong.
* Max parameter length is now fetched from device. Values for opencl parameter maximum length were hardcoded. The maximum is now requested at the device, so that the correct value for all devices is used. * Removed isAmd & isNvidia, since they are no longer used. (cherry picked from commit 0493478)
* Max parameter length is now fetched from device. Values for opencl parameter maximum length were hardcoded. The maximum is now requested at the device, so that the correct value for all devices is used. * Removed isAmd & isNvidia, since they are no longer used. (cherry picked from commit 0493478)
| Back | FazBrowse Home | New Git URL |
On some devices, the hard-coded maxima for the parameter length did not correspond. This is solved by asking it to the device and using the returned value.
Description
Changes to Users
Checklist