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.

output(tag, value)

Report an output with the given tag and value.

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 an output with the given tag and value.