Results 1 to 4 of 4

Thread: Program run on CPU with 2 core....

  1. #1

    Program run on CPU with 2 core....

    if i run the program on CPU having 2 cores,which i ran on gpu having many cores and in cycles all threads ran simultaneously,but .how it will be run on CPU? if there are more than 2 threads are required and if we have 2 core on CPU then how it will run on CPU....
    thanks

  2. #2

    Re: Program run on CPU with 2 core....

    like if i am use intel core 2 Duo processor......

  3. #3

    Re: Program run on CPU with 2 core....

    The short answer is that it will run, assuming your code does not use device specific features (e.g. Nvidia extensions). How the work items get mapped to cpu cores is implementation specific.

    An OpenCL implementation might treat each work item as a separate thread and only launch two threads a time. Work items could be combined by using SSE instructions (vectorizing the code).

  4. #4

    Re: Program run on CPU with 2 core....

    i am using nvidia ,intel i5.....
    in CPU one core handle two thread or one thread at a time.

Similar Threads

  1. when run on cpu or graphics card of cpu
    By prince in forum OpenCL
    Replies: 2
    Last Post: 01-20-2013, 07:35 AM
  2. program run on CPU and GPU
    By jai in forum OpenCL
    Replies: 1
    Last Post: 10-13-2012, 08:15 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
  •