-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMind.toml
More file actions
135 lines (111 loc) · 3.18 KB
/
Mind.toml
File metadata and controls
135 lines (111 loc) · 3.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# NikolaChess - MIND Project Configuration
# Copyright (c) 2026 STARGA, Inc. All rights reserved.
#
# MIND Compiler: https://mindlang.dev | https://github.com/star-ga/mind
[package]
name = "nikolachess"
version = "3.21.0"
authors = ["STARGA, Inc. <info@star.ga>"]
description = "Supercomputer Chess Engine - 100% MIND"
license = "Apache-2.0"
repository = "https://github.com/star-ga/NikolaChess"
homepage = "https://star.ga"
[build]
entry = "src/main.mind"
output = "nikola"
optimization = "aggressive"
[features]
default = ["simd", "syzygy"]
cuda = []
rocm = []
metal = []
webgpu = []
simd = []
syzygy = []
lichess = []
# ============================================================================
# CPU Targets
# ============================================================================
[targets.cpu]
backend = "cpu"
simd = "avx512"
output = "nikola-cpu"
[targets.cpu-avx2]
backend = "cpu"
simd = "avx2"
output = "nikola-cpu-avx2"
# ============================================================================
# NVIDIA CUDA Targets
# ============================================================================
[targets.cuda]
backend = "cuda"
compute = "sm_89" # RTX 40 series, Ada Lovelace
output = "nikola-cuda"
[targets.cuda-ampere]
backend = "cuda"
compute = "sm_86" # RTX 30 series, A100
output = "nikola-cuda-ampere"
[targets.cuda-hopper]
backend = "cuda"
compute = "sm_90" # H100
output = "nikola-cuda-hopper"
[targets.cuda-blackwell]
backend = "cuda"
compute = "sm_100" # Blackwell B200/B300
output = "nikola-cuda-blackwell"
[targets.cuda-rubin]
backend = "cuda"
compute = "sm_110" # Vera Rubin (2026)
output = "nikola-cuda-rubin"
# ============================================================================
# AMD ROCm Targets
# ============================================================================
[targets.rocm]
backend = "rocm"
arch = "gfx1100" # RX 7900 series, RDNA3
output = "nikola-rocm"
[targets.rocm-mi300]
backend = "rocm"
arch = "gfx942" # MI300X
output = "nikola-rocm-mi300"
# ============================================================================
# Apple Metal Targets
# ============================================================================
[targets.metal]
backend = "metal"
arch = "apple-m3"
output = "nikola-metal"
[targets.metal-m4]
backend = "metal"
arch = "apple-m4"
output = "nikola-metal-m4"
# ============================================================================
# WebGPU Target (Browser / Cross-platform)
# ============================================================================
[targets.webgpu]
backend = "webgpu"
output = "nikola-webgpu"
[dependencies]
# MIND Runtime provides GPU backends (CUDA, ROCm, Metal, WebGPU)
# Runtime source is proprietary - distributed as compiled library
runtime = { version = "1.0", features = ["tensor", "cuda", "rocm", "metal", "webgpu"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
panic = "abort"
debug = false
overflow-checks = false
# Maximum Protection Options
[profile.release.protection]
obfuscate = true
control-flow-flatten = true
opaque-predicates = true
string-encrypt = true
anti-debug = true
integrity-check = true
symbol-mangle = true
[profile.dev]
opt-level = 0
debug = true