gpu_cpu: Set GPU or CPU usage

gpu_cpuR Documentation

Set GPU or CPU usage

Description

These functions set the use of CPU or GPU inside of greta. They simply return either "GPU" or "CPU", but in the future may handle more complexity. These functions are passed to compute_options inside of a few functions: mcmc(), opt(), and calculate().

Usage

gpu_only()

cpu_only()

greta-dev/greta documentation built on Dec. 21, 2024, 5:03 a.m.