File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ add_subdirectory(simdjson simdjson EXCLUDE_FROM_ALL)
45
45
set (BUILD_SHARED_LIBS ${_OLD_BUILD_SHARED_LIBS} )
46
46
set (BUILD_STATIC_LIBS ${_OLD_BUILD_STATIC_LIBS} )
47
47
set (BUILD_TESTING ${_OLD_BUILD_TESTING} )
48
+ set_property (TARGET simdjson PROPERTY CXX_STANDARD 17 )
48
49
49
50
# openssl
50
51
add_subdirectory (openssl openssl EXCLUDE_FROM_ALL )
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ nbl::core::smart_refctd_ptr<ICPUBuffer> ISPIRVOptimizer::optimize(const uint32_t
19
19
return spvtools::CreateScalarReplacementPass ();
20
20
};
21
21
22
+ auto CreateReduceLoadSizePass = [] {
23
+ return spvtools::CreateReduceLoadSizePass ();
24
+ };
25
+
22
26
using create_pass_f_t = spvtools::Optimizer::PassToken (*)();
23
27
create_pass_f_t create_pass_f[EOP_COUNT]{
24
28
&spvtools::CreateMergeReturnPass,
@@ -37,7 +41,7 @@ nbl::core::smart_refctd_ptr<ICPUBuffer> ISPIRVOptimizer::optimize(const uint32_t
37
41
&spvtools::CreateRedundancyEliminationPass,
38
42
&spvtools::CreateLoopInvariantCodeMotionPass,
39
43
&spvtools::CreateCCPPass,
40
- &spvtools:: CreateReduceLoadSizePass,
44
+ CreateReduceLoadSizePass,
41
45
&spvtools::CreateStrengthReductionPass,
42
46
&spvtools::CreateIfConversionPass
43
47
};
You can’t perform that action at this time.
0 commit comments