OCLGRIND(1)

πŸ’– OCLGRIND β€” the manual page, but make it cute πŸ’–

okay bestie, sit down, hydrate, because we're about to talk about oclgrind β€” the OpenCL device simulator and debugger that is genuinely the moment. ✨


🌸 NAME 🌸

oclgrind β€” OpenCL device simulator and debugger. that's the whole vibe. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

oclgrind [OPTIONS] COMMAND

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, the whole thing is literally:

oclgrind [--help | --version]

that's it, that's the page. 🫢


✨ OPTIONS ✨

every single one, no skips, no cuts, we're doing this properly. πŸ’œ

  • --build-options OPTIONS β€” extra options you wanna pass along to the OpenCL compiler. little handoff, love that for you.
  • --check-api β€” reports errors on API calls. she's watching. πŸ‘€
  • --compute-units UNITS β€” changes the number of compute units that get reported.
  • --constant-mem-size BYTES β€” changes the constant memory size of the device.
  • --data-races β€” turns on data-race detection. spicy. πŸ”₯
  • --disable-pch β€” don't use precompiled headers. sometimes we go the long way, and that's valid.
  • --dump-spir β€” dumps SPIR to /tmp/oclgrind_*.{ll,bc}. yes, that exact path, with the curly braces and everything. πŸ’…
  • --global-mem-size BYTES β€” changes the global memory size of the device.
  • --help, -h β€” displays usage information. your bestie when you're lost.
  • --inst-counts β€” outputs histograms of instructions executed. data girlies rise 🌈
  • --interactive, -i β€” enables interactive mode. main character energy, you're in control now πŸ‘‘
  • --local-mem-size BYTES β€” changes the local memory size of the device.
  • --log LOGFILE β€” redirects log/error messages to a file.
  • --max-errors NUM β€” limits the number of error/warning messages. a girl can only take so much 😭
  • --max-wgsize WGSIZE β€” changes the maximum work-group size of the device.
  • --num-threads NUM β€” sets the number of worker threads to use.
  • --pch-dir DIR β€” overrides the directory containing precompiled headers.
  • --plugins PLUGINS β€” loads a colon separated list of plugin libraries. colon separated, bestie, not comma. πŸ’€
  • --quick, -q β€” only runs the first and last work-group. speedrun mode πŸƒβ€β™€οΈ
  • --uniform-writes β€” don't suppress uniform write-write data-races. let them be seen.
  • --uninitialized β€” reports usage of uninitialized values. snitching, but productively.
  • --version, -v β€” displays version information. iconic behaviour.

for more information, please visit the Oclgrind wiki page: -> https://github.com/jrprice/Oclgrind/wiki

also: Oclgrind 21.10 πŸŽ€


Copyright Β© 2013-2019 James Price and Simon McIntosh-Smith, University of Bristol https://github.com/jrprice/Oclgrind


🌈 SEE ALSO 🌈

the full documentation for oclgrind is maintained as a Texinfo manual. if the info and oclgrind programs are properly installed at your site, the command

info oclgrind

should give you access to the complete manual. go get your full lore, bestie πŸ“šβœ¨


and that's the whole page!! this was oclgrind, from October 2021, page OCLGRIND(1). no cap, you're now officially informed. go forth and simulate ur OpenCL devices responsibly πŸ§šπŸ’–βœ¨

πŸ“¦ where this page comes from