CmdBarrier#

Fully qualified name: cupva::CmdBarrier

Defined in cupva_host.hpp

class CmdBarrier : public cupva::BaseCmd#

Barrier is the command barrier of the Commands in a Stream.

Any Command submitted after the Barrier can begin execution only after all Command instances submitted before the Barrier complete the execution.

  • Maturity: GA

Public Functions

CmdBarrier() noexcept#

Construct a new Barrier object.

Usage considerations

  • Allowed context for the API call

    • Interrupt handler: No

    • Signal handler: No

    • Thread-safe: No

    • Re-entrant: No

    • Async/Sync: Sync

  • Required privileges: None

  • Allowed execution state

    • Initialization: Yes

    • Operational: Yes

    • Reinit/Deinit Preparation: Yes

  • Maturity: GA

Pre:

None

~CmdBarrier() noexcept#

Destroy the Barrier object.

Usage considerations

  • Allowed context for the API call

    • Interrupt handler: No

    • Signal handler: No

    • Thread-safe: No

    • Re-entrant: No

    • Async/Sync: Sync

  • Required privileges: None

  • Allowed execution state

    • Initialization: Yes

    • Operational: Yes

    • Reinit/Deinit Preparation: Yes

  • Maturity: GA

Pre:

None

CmdBarrier(CmdBarrier &&obj) noexcept#

Move constructor.

Usage considerations

  • Allowed context for the API call

    • Interrupt handler: No

    • Signal handler: No

    • Thread-safe: No

    • Re-entrant: No

    • Async/Sync: Sync

  • Required privileges: None

  • Allowed execution state

    • Initialization: Yes

    • Operational: Yes

    • Reinit/Deinit Preparation: Yes

  • Maturity: GA

Pre:

None

CmdBarrier &operator=(CmdBarrier &&obj) & noexcept#

Move assignment.

Usage considerations

  • Allowed context for the API call

    • Interrupt handler: No

    • Signal handler: No

    • Thread-safe: No

    • Re-entrant: No

    • Async/Sync: Sync

  • Required privileges: None

  • Allowed execution state

    • Initialization: Yes

    • Operational: Yes

    • Reinit/Deinit Preparation: Yes

  • Maturity: GA

Pre:

None

CmdBarrier(CmdBarrier const&) = delete#
CmdBarrier &operator=(CmdBarrier const&) & = delete#