You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment the spec doesn't specify if clEnqueueSignalSemaphoresKHR and clEnqueueWaitSemaphoresKHR operate on the semaphore already imported at call time or the currently imported semaphore once the queue reaches those commands.
I'd assume it's meant to operate on the already imported semaphore and clReImportSemaphoreSyncFdKHR just affects future calls to those. But I think this is a valid assumption to make just reading the specification.
I think "Calling clReImportSemaphoreSyncFdKHR is equivalent to destroying sema_object and re-creating it with the original sema_props from clCreateSemaphoreWithPropertiesKHR" can be read this way, but I think it's better to explicitly state this.