FUTHARK-AUTOTUNE(1)
π FUTHARK-AUTOTUNE(1) π
okay bestie, welcome to the Futhark manual, section 1, and today's main character is futhark-autotune. no cap, this one is lowkey iconic.
β¨ NAME β¨
futhark-autotune β calibrate run-time parameters ποΈ
π SYNOPSIS π
futhark autotune [options...] <program.fut>
π¦ DESCRIPTION π¦
so like. futhark autotune tries to hunt down the optimal values for threshold parameters when you hand it representative datasets. how? by running the program over and over through futhark-bench (#futhark-bench-1) with different values for those threshold parameters, basically vibe-checking each combo until it finds the one that ate. π₯
and the way that it pays off?? when futhark autotune finishes tuning a program foo.fut, the results get written to foo.fut.tuning, and then that file just gets picked up automatically by every subsequent use of futhark-bench (#futhark-bench-1) and futhark-test (#futhark-test-1). literally free upgrades, no extra work. periodt. π
π OPTIONS π
--backend=nameβ the backend used when compiling Futhark programs (without the leadingfuthark, so literally justopencl, bestie).--futhark=programβ the program used to do the operations (like, eg. compilation). defaults to the binary that's runningfuthark autotuneitself. πͺ--pass-option=optβ pass an option through to the programs that are being run. for example, maybe we want to run OpenCL programs on a specific device:
futhark autotune prog.fut --backend=opencl --pass-option=-dHawaii
--runs=countβ the number of runs per data set. π-v,--verboseβ print verbose info about what the tuner is doing. pass it multiple times to crank up how much it spills. π£οΈ--skip-compilationβ do not run the compiler, and instead assume the program has already been compiled. > use with caution. β οΈ fr.--spec-file=FILEβ ignore the test specification inside the program file(s) and load them from this other file instead. these external test specifications use the same syntax as normal, just without line comment prefixes β a==is still expected. π--tuning=EXTENSIONβ change the extension used for tuning files (.tuningby default). π·οΈ--timeout=secondsβ initial tuning timeout for each dataset, in seconds. after running the intitial tuning run on each dataset, the timeout is based on the run time of that initial tuning. defaults to60.
a negative timeout means to wait indefinitely. β³ (yes, forever. main character energy.)
π SEE ALSO π
futhark-bench(#futhark-bench-1)
β Copyright β
2013-2020, DIKU, University of Copenhagen
and that's the whole thing bestie!! π«Ά this was FUTHARK-AUTOTUNE(1) from the Futhark manual, version 0.25.32, dated Mar 11, 2026. slay, go tune something. πβ¨
π¦ where this page comes from
- ubuntu resolute: futhark 0.25.32-3build1 Β· ISC
- ubuntu stonking: futhark 0.25.32-3build1 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms