Results 1 to 2 of 2

Thread: Device lost possible?

  1. #1
    Senior Member
    Join Date
    Oct 2012

    Device lost possible?

    Hi there,

    is it possible that a device gets lost after it is aquired? Like a directX Device on windows logoff? I'm already handling all errors regading ressources (kernels and memory objects ect.), so this will not kill my device. Do I have to handle anything else? Do you know any possible error where the system could release a device?


  2. #2

    Re: Device lost possible?

    I don't see any errors that are specific to you scenario, which makes me think that you could get any random error and that this will vary by vendor. CL_INVALID_DEVICE and CL_INVALID_PLATFORM might get generated when interrupting a function call that should not otherwise generate them, but that is real guess work on my part. The best strategy might be to retry a given operation a certain number of times with a delay in-between each retry. Re-initialising your platform, device, memory objects, kernels, etc. on the first error will also be needed.

Similar Threads

  1. Replies: 1
    Last Post: 03-30-2012, 12:46 PM
  2. Replies: 3
    Last Post: 05-12-2010, 03:09 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
Proudly hosted by Digital Ocean