einpoklum
einpoklum

Reputation: 132128

In OpenCL, do contexts keep subdevices alive?

In OpenCL (let's say v3.0), I know one can create contexts using sub-devices. But - what happens if you release all references to a sub-device while the context is not released (i.e. has positive refcount)? Is there an implicit extra refcount to a sub-device by virtue of it being part of a context?

Upvotes: 0

Views: 11

Answers (0)

Related Questions