Results 1 to 2 of 2

Thread: size_t usage in OpenCL

  1. #1

    size_t usage in OpenCL

    size_t is used all over the place in the standard. However, size_t is defined by the os/compiler, but the device could actually support more than 4GB of memory. For example, fermi will have 6GB of memory, but theoretically that could be running on a 32-bit linux machine (which unfortunately still do exist).

    Or am I missing something fundamental about size_t?

  2. #2
    Junior Member
    Join Date
    Oct 2009
    Posts
    7

    Re: size_t usage in OpenCL

    hello,
    Please check CL_DEVICE_ADDRESS_BITS.

Similar Threads

  1. regarding usage of barrier in openCL kernel
    By Sudarshan in forum OpenCL
    Replies: 1
    Last Post: 06-14-2011, 03:23 PM
  2. OpenCL name usage
    By lupescu in forum OpenCL
    Replies: 3
    Last Post: 01-06-2011, 04:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •