Skip to content

feat(warpforthc): expose opt-level, features and libdevice options - #137

Merged
tetsuo-cpp merged 1 commit into
canonfrom
feat/warpforthc-pipeline-options
Oct 24, 2026
Merged

tetsuo-cpp merged 1 commit into
canonfrom
feat/warpforthc-pipeline-options

Conversation

@tetsuo-cpp

Copy link
Copy Markdown
Owner

Fixes #120

Adds -O<n> / --opt-level, --features and --libdevice to warpforthc. Values are validated by WarpForthPipelineOptions::parseFromString, so accepted values and error messages match warpforth-opt's warpforth-pipeline.

--emit=mlir|llvm|ptx is not included: it needs design calls on where each stage stops and how to print it.

check-clang-tidy fails on canon already (static-over-anonymous-namespace in ForthToGPU.cpp and ForthToMemRef.cpp); none of it is in files this PR touches. check-iwyu is unavailable locally.

@tetsuo-cpp
tetsuo-cpp force-pushed the feat/warpforthc-pipeline-options branch from 7fa8b55 to a27aec2 Compare October 24, 2026 13:00
@tetsuo-cpp
tetsuo-cpp merged commit 214e8d4 into canon Oct 24, 2026
1 check passed
@tetsuo-cpp
tetsuo-cpp deleted the feat/warpforthc-pipeline-options branch October 24, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose opt-level, features, libdevice and emit-stage options in warpforthc

1 participant