To cite opencltools as software, use the first entry. If your work uses the likelihood subgradient envelope computation illustrated in the glmbayes examples (f2_f3_* kernels), also cite Nygren and Nygren (2006). If you report OpenCL GPU execution, cite Stone et al. (2010). Cite glmbayes separately when describing that downstream application rather than the opencltools runtime layer.

Nygren K (2026). opencltools: OpenCL Tools for R Package Developers. R package version 0.8.1, https://github.com/knygren/opencltools.

Nygren K, Nygren L (2006). “Likelihood Subgradient Densities.” Journal of the American Statistical Association, 101(475), 1144–1156. doi:10.1198/016214506000000357.

Stone J, Gohara D, Shi G (2010). “OpenCL: A Parallel Programming Standard for Heterogeneous Computing Systems.” Computing in Science & Engineering, 12(3), 66–72. doi:10.1109/MCSE.2010.69.

Nygren K (2025). glmbayes: Bayesian Generalized Linear Models (IID Samples). R package; reference application for envelope gradient kernels, https://CRAN.R-project.org/package=glmbayes.

Corresponding BibTeX entries:

  @Manual{,
    title = {{opencltools}: OpenCL Tools for {R} Package Developers},
    author = {Kjell Nygren},
    year = {2026},
    note = {R package version 0.8.1},
    url = {https://github.com/knygren/opencltools},
  }
  @Article{,
    title = {Likelihood Subgradient Densities},
    author = {Kjell N. Nygren and Lance M. Nygren},
    journal = {Journal of the American Statistical Association},
    volume = {101},
    number = {475},
    pages = {1144--1156},
    year = {2006},
    doi = {10.1198/016214506000000357},
  }
  @Article{,
    title = {OpenCL: A Parallel Programming Standard for Heterogeneous
      Computing Systems},
    author = {James E. Stone and David Gohara and Guochun Shi},
    journal = {Computing in Science \& Engineering},
    volume = {12},
    number = {3},
    pages = {66--72},
    year = {2010},
    doi = {10.1109/MCSE.2010.69},
  }
  @Manual{,
    title = {{glmbayes}: Bayesian Generalized Linear Models (IID
      Samples)},
    author = {Kjell Nygren},
    year = {2025},
    note = {R package; reference application for envelope gradient
      kernels},
    url = {https://CRAN.R-project.org/package=glmbayes},
  }