Results 1 to 3 of 3

Thread: Host overhead on data transfer?

  1. #1
    Newbie
    Join Date
    Jul 2017
    Posts
    1

    Host overhead on data transfer?

    Hi there,

    Currently I'm using CPU-GPU computation using OpenCL to lowering down CPU overhead by giving some computations to GPU.

    There are several GPU blocks in CPU routines and data transfer is necessary. For faster transfer, I use CL_MEM_ALLOC_HOST_PTR and map to host-device with pointer.

    But then, when data transfer occurs, CPU load is getting really high (I checked this by using 'top' command in linux). Actually, the increased overhead is almost same as using memcpy() to copy the same amount of data in CPU.


    Is there any way to minimize host(CPU) usage in data transfer? Or, is this an inevitable cost in this environment?


    Regards,

  2. #2
    Newbie
    Join Date
    Jul 2017
    Posts
    2
    Quote Originally Posted by sontung View Post
    Is there any way to minimize host(CPU) usage in data transfer? Or, is this an inevitable cost in this environment?

    Regards,
    I'd like to know if this is possible too.

  3. #3
    Junior Member
    Join Date
    Aug 2017
    Posts
    3
    Try upgrading your driver. It *may* help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean