Nishanth
Nishanth

Reputation: 7130

CL_DEVICE_GLOBAL_MEM_SIZE returns wrong value

Querying device information with clGetDeviceInfo() using CL_DEVICE_GLOBAL_MEM_SIZE returns 1GB even though RAM is 2GB. Device type = CPU. What could be the reason?

Upvotes: 0

Views: 1446

Answers (1)

Dr. Snoopy
Dr. Snoopy

Reputation: 56387

Why do you think it must return your available RAM?

The OpenCL implementation is free to return whatever it wants.

Upvotes: 0

Related Questions