Results 1 to 5 of 5

Thread: Offscreen openCL device - no GPU

  1. #1
    Junior Member
    Join Date
    Feb 2010
    Posts
    6

    Offscreen openCL device - no GPU

    Hello

    I don't know if "offscreen" is the right term but here is my problem :
    If I run my program on a mac mini with a screen connected on his display port, I can use the GPU device to do my OpenCL computing, but if I run the same program without any screen connected (i.e. from an SSH session) the GPU device is not detected.

    Is it a normal issue? How may I use the GPU in this kind of configuration? Indeed I would like to do some OpenCL GPU computation on a server grid (without any screen).

    Thanks a lot for any help. I am really stucked.

  2. #2
    Junior Member
    Join Date
    Feb 2010
    Posts
    6

    Re: Offscreen openCL device - no GPU

    I noticed that I can use the GPU if I log in with a local admin user, but not if I log in with a network user.
    Is there any way to grant access to a network user to the GPU ?
    Thanks a lot.

  3. #3
    Senior Member
    Join Date
    Jul 2009
    Location
    Northern Europe
    Posts
    311

    Re: Offscreen openCL device - no GPU

    I've run into this bug as well. You have to have the window manager up and running to get a graphics context to use OpenCL on Mac OS X 10.6.

  4. #4
    Junior Member
    Join Date
    Feb 2010
    Posts
    1

    Re: Offscreen openCL device - no GPU

    I have the same question. I posted this question on stackoverflow:
    http://stackoverflow.com/questions/2061 ... ely-on-mac

    The fact root can ssh in and use OpenCL implies that there there could be some permission change that would allow ordinary users to access the GPU. I would like to know if that is possible.

  5. #5
    Senior Member
    Join Date
    Jul 2009
    Location
    Northern Europe
    Posts
    311

    Re: Offscreen openCL device - no GPU

    The issue on the mac is whether there is a monitor attached, not whether the user is logged in. Any user can log in via ssh if the GUI is up and run OpenCL on the GPU as far as I remember. The problem is if you boot the machine headless.

Similar Threads

  1. Replies: 3
    Last Post: 05-12-2010, 03:09 PM
  2. multiple kernel for single device(1 gpu)
    By deNorma in forum OpenCL
    Replies: 1
    Last Post: 03-01-2010, 01:59 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
  •