-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings_template.fut
22 lines (19 loc) · 977 Bytes
/
settings_template.fut
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import "swirl/settings"
module settings: settings = {
-- The maximum amount of memory the cullbranches rendering approach is allowed
-- to use. Increase to be able to draw more points. Decrease to avoid
-- crashing the program because of out-of-memory errors. The best value
-- depends both on the size of your GPU memory and on Futhark's general memory
-- usage. Even if you *can* set this to a high value, memory-wise, you will
-- likely get a more fluid experience with a lower number. The default of 512
-- MiB seems to work well enough across different systems.
let cullbranches_bytes = 512i64 * 1024**2
-- The default number of iterations for fractals with 2, 3, and 4 branches
-- when using the scalarloop rendering approach.
let iterations2 = 22i32
let iterations3 = 14i32
let iterations4 = 11i32
-- Support using 64-bit floats. Disable this feature if your GPU only
-- supports 32-bit float operations.
let enable_f64 = true
}