oxilean_codegen/futhark_backend/futharkextconfig_traits.rs
1//! # FutharkExtConfig - Trait Implementations
2//!
3//! This module contains trait implementations for `FutharkExtConfig`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::{FutharkExtConfig, FutharkVersion};
12
13impl Default for FutharkExtConfig {
14 fn default() -> Self {
15 Self {
16 target_version: FutharkVersion::Latest,
17 emit_safety_checks: true,
18 inline_threshold: 20,
19 vectorize_threshold: 64,
20 emit_comments: true,
21 mangle_names: false,
22 backend_target: "opencl".to_string(),
23 }
24 }
25}