willyborn · GitHub

@willyborn changed the title Parameter length overflow during opencl program build Max parameter length fetched from device

Oct 27, 2020

@willyborn

9prady9

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.

@willyborn

9prady9

@willyborn

@9prady9

9prady9 pushed a commit to 9prady9/arrayfire that referenced this pull request

Aug 2, 2021
* 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 )

syurkevi pushed a commit that referenced this pull request

Dec 28, 2021
* 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 )

@willyborn

Read the original on github.com ↗