platformΒΆ

Platform functions.

Functions

barrier(*args)

Barrier to guarantee that all operations before the barrier are completed before operations after the barrier are started.

exit(msg, signal, *args)

Exit, reporting the given message and signal, and immediately exit the program.

panic(msg, *args)

Panic, throwing an error with the given message, and immediately exit the program, aborting any subsequent shots.

result(tag, value)

Report a result with the given tag and value.