Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8612017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:31:24+00:00 2026-06-12T04:31:24+00:00

everyone here. Because OpenCL can run kernels on a CPU in a similar fashion

  • 0

everyone here. Because OpenCL can run kernels on a CPU in a similar fashion as on a GPU. In a GPU, there are private memory(registers) and shared memory physically, but if I choose a CPU as the OpenCL device, how are private memory and shared memory implemented?

I mean, are they emulated by DRAM or something else(L1, L2 even L3 cache? I am not sure). Besides, the performance of using shared memory on CPU will be limited comparing with GPU, right?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T04:31:25+00:00Added an answer on June 12, 2026 at 4:31 am

    No language has direct access to CPU cache (was cited but I don’t have enough rep to have 3 urls…). Which in turn means that there is no way for OpenCL to keep private memory in cache.

    In this presentation from AMD
    they simply refer to the memory model as a series of memory objects abstracted by the context (page 16). As long as the buffer is available to the devices in the context, they will be readable. When it comes to the different types of kernel memory, you can safely assume that there will be no performance difference between them when running on a CPU instead of a GPU (as there are different types of DRAM).

    Keep in mind however, that host memory and local memory would still differ if you are computing on a cluster, which would still require you to take transfer rates into account.
    On the second part of your question, please see this article on memory models in OpenCL. There is performance to gain from structuring your program in such a way that you only need to communicate within a given workgroup.

    For further reading, please see -http://software.intel.com/sites/landingpage/opencl/optimization-guide/index.htm

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question can have different answers because everyone would do it his own way.
There is a video which can be found here that I would like to
Hello everyone here is my DAO class : public class UsersDAO extends HibernateDaoSupport {
i hope that everyone here know the php 'variable variable' syntax: $color = 'red';
Ahoy hoy everyone :) Here is a list of links. You will need it
I thought to share this relatively smart problem with everyone here. I am trying
I'm trying to create a web application project template for everyone to use here
First question here so hello everyone. The requirement I'm working on is a small
everyone! new to here and been pondering about this myself for some times with
Hey everyone, here is the site in question: http://www.myvintagesecret.com/ I have a bunch of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.