You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+65-7Lines changed: 65 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,31 @@
1
1
cmake_minimum_required(VERSION 3.10)
2
2
project(hiprt)
3
3
4
+
#
4
5
# Options
5
-
option(BAKE_KERNEL "Enable the use of encrypted and baked kernels"OFF)
6
-
option(BITCODE "Enable bitcode linking"OFF)
6
+
#
7
+
8
+
# Only one of those 3 flags should be ON at a time, or none. Multiple flags ON are untested and may cause issues.
9
+
option(BAKE_KERNEL "Enable the use of encrypted and baked kernels source code"OFF)
10
+
option(BAKE_COMPILED_KERNEL "If enabled, the kernels will be compiled and embedded as a buffer inside the binary. if you do that, you should also enable the flag 'PRECOMPILE'"OFF)
11
+
option(BITCODE "Enable bitcode linking: when running the program, it's expected to find precompiled kernels as external files."OFF)
12
+
7
13
option(PRECOMPILE "Precompile kernels"OFF)
8
14
option(HIPRTEW "Use hiprtew"OFF)
9
15
option(NO_ENCRYPT "Don't encrypt kernel source and binaries"OFF)
0 commit comments