Why a GPU with 512Mb of VRAM is letting me to allocate a max of 128Mb for a global memory buffer?
In the OpenCL spec I see this:
The minimum value should be 128Mb and the maximum 512Mb(or even more due to memory virtualisation! )
what I cannot understand is why if a GPU has 2Gb of VRAM I cannot allocate a continuous linear buffer of, almost, 1500Mb(2Gb - the framebuffer aprox ). Why 128Mb max? It’s a non-sense for me.
I believe the way the spec is written, it’s real purpose is to limit the MINIMUM maximum. There is no MAXIMUM maximum. This lays out what OpenCL vendors MUST do. There is competition among vendors, so over time some may up what they support, if they feel customers want it. I take it you in that camp.