GPU in-use memory in OpenCL

Is there anyway to query GPU device to find in-use memory with OpenCL? I want to allocate as much as memory that I can.

Answers


There is no standard way of getting such information. Some alternatives (pretty poor alternatives, but anyway):

  • CUDA provides such functionality via cuMemGetInfo
  • GL_ATI_meminfo and NVX_gpu_memory_info OpenGL extensions
  • nvidia-smi application

Need Your Help

Pivotal Web Services Spring Error

java spring jackson pivotal-web-services

When I upload my Spring application to Pivotal Web Services, I get the two errors:

Handling Master Data on (De-)Serialization with JSON.net

c# serialization json.net deserialization

Using JSON.NET I am stuck on a issue with MasterData with regards to GET and POST operations.