- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I would to know if intel opencl compiler offers any compiler flags to get to know the usage of shared memory by opencl kernels. I would like to know it in order to give a suitable workgroup for the kernel. I am using Intel(R) Xeon(R) CPU E5649 @ 2.53GHz with OpenCL 1.1
Thanks in advance
vinoth
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some more clarification....
Is there any Compiler Flags for the intel processor graphics to get SLM info. Also, is there something similar for CPU for work-group optimizations? Probably based on max compute units or kernel SLM usage or register usage?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi;
Does the query clGetKernelWorkGroupInfo ( ... ,CL_KERNEL_LOCAL_MEM_SIZE,...) answers your needs?
Rami
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
CL_KERNEL_LOCAL_MEM_SIZE works. Thanks Rami. I would like to know how this information can be used to set the work-group for the kernel for a CPU. Intel provides this information for INTEL graphics processor.. http://software.intel.com/sites/landingpage/opencl/optimization-guide/index.htm#Work-Group_Size_Considerations.htm
But i am more interested in CPUs. I know intel provides CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE. Is thr something else based on register and SLM usage inorder to use the cores optimally.
Thanks in Advance.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page