Skip to content

Commit afa5bc0

Browse files
committed
Update on "[ET-VK] Support setting cache_data_path at run time"
Differential Revision: [D75918105](https://our.internmc.facebook.com/intern/diff/D75918105/) [ghstack-poisoned]
2 parents 17fc725 + a596645 commit afa5bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/vulkan/runtime/vk_api/Runtime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ std::string& set_and_get_pipeline_cache_data_path(
381381
const std::string& file_path) {
382382
// The global cache data path is declared as a static local variable for the
383383
// same reasons as the global runtime below.
384-
static std::string global_cache_data_path = "";
384+
static std::string global_cache_data_path;
385385
if (file_path.size() > 0) {
386386
global_cache_data_path = file_path;
387387
}

0 commit comments

Comments
 (0)