# options()

The method that sets per-call resource requirements on a distributed function, such as num_cpus or num_gpus.

Source: https://university.eugo.io/glossary/options

---

Resource needs belong on the call rather than the definition, so the same function can be invoked cheaply in one place and with a GPU in another.

## Related terms

- [distribute decorator](https://university.eugo.io/glossary/distribute-decorator) — The eugo.hpc decorator that turns a function into a distributed task, or a class into an actor. A decorated call returns a future instead of a value.
- [GPU](https://university.eugo.io/glossary/gpu) — A graphics processing unit. Hardware with many parallel cores, well suited to large array and matrix operations.
- [Scheduler](https://university.eugo.io/glossary/scheduler) — The component on the head node that decides which compute node runs each task, honoring the resources that task requested.

