We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 930ecfd commit 018fa28Copy full SHA for 018fa28
1 file changed
backends/vulkan/runtime/graph/ComputeGraph.cpp
@@ -1134,8 +1134,9 @@ void ComputeGraph::clear_deferred_cmds() {
1134
void ComputeGraph::prepack() {
1135
int i = 0;
1136
bool submitted = false;
1137
- const bool reduce_peak_memory = total_constant_nbytes_ > 500 * MB;
+ const bool reduce_peak_memory = total_constant_nbytes_ > 10 * MB;
1138
// int count = 0;
1139
+
1140
context_->set_cmd();
1141
for (std::unique_ptr<PrepackNode>& node : prepack_nodes_) {
1142
// Do not trigger on the first or last prepack node.
0 commit comments