Results 1 to 2 of 2

Thread: A 64ko buffer size limit ?

Threaded View

  1. #1
    Join Date
    Jun 2013

    A 64KB buffer size limit ?


    I am writing a small application in WebCL (NOT WebGL !), where I must render a set of primitives in a 3D scene.

    Currently, I can use only 1170 primitives consisting of 14 floats each, which means the 1171th will give me a -52 error on the NDRangeKernel call (Bad args if I'm not mistaken ?). This means I can use only 16380 * 32 bits float, and the closest power of two gives us a 64 kilobytes limit when writing in a buffer.

    Is there anyone with the slightest idea where this limit come from ? I know of the 128 mb limit usually enforced (my GPU is a GeForce 560 with 1Gb of memory), but I'm far under it. I also use a javascript front end with Float32Array to serialize my data, if that's of any relevance.

    Last edited by 0xeedfade; 06-11-2013 at 06:04 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean