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])

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

panic(msg[, signal])

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

result(tag, value)

Report a result with the given tag and value.