Skip to contents

Sets the anvl.default_backend option for the duration of the expression. This affects jit() and data construction (e.g. via nv_array).

Usage

with_backend(backend, code)

Arguments

backend

(character(1))
Backend to use ("xla" or "quickr").

code

An expression to evaluate with the given backend.

Value

The result of evaluating code.