Results 1 to 3 of 3

Thread: Queuing multiple command is implementation defined?

  1. #1
    Senior Member
    Join Date
    Nov 2009
    Posts
    118

    Queuing multiple command is implementation defined?

    I just pay attention to this note of the OpenCL specification (1.0.4 :
    Quote Originally Posted by Note p50
    It is possible that a device(s) becomes unavailable after a context and command-queues that use this device(s) have been created and commands have been queued to command-queues. In this case the behavior of OpenCL API calls that use this context (and command-queues) are considered to be implementation-defined. The user callback function, if specified when the context is created, can be used to record appropriate information in the errinfo, private_info arguments passed to the callback function when the device becomes unavailable.
    Does it really means that second command queuing behavior is implementation dependent?

  2. #2
    Senior Member
    Join Date
    Sep 2002
    Location
    Santa Clara
    Posts
    105

    Re: Queuing multiple command is implementation defined?

    The behavior of multiple command-queues is not implementation defined. What this text is saying is that the behavior of context and command-queues is implementation defined if the device associated with the context / queue becomes unavailable. An example of a device becoming unavailable would be the device getting powered off.

  3. #3
    Senior Member
    Join Date
    Nov 2009
    Posts
    118

    Re: Queuing multiple command is implementation defined?

    Ok I'm relieved, I understood with that sentence:
    It is possible that a device(s) becomes unavailable after a context and command-queues that use this device(s) have been created and commands have been queued to command-queues.
    that a device can become unavailable because of its usage by command(s) queued...

Similar Threads

  1. Replies: 4
    Last Post: 11-24-2011, 06:15 AM
  2. Replies: 3
    Last Post: 12-08-2009, 10:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •