Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 31, 2022
1 parent edfa298 commit 901852c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions taichi/llvm/llvm_offline_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
namespace taichi {
namespace lang {

static TI_FORCE_INLINE std::vector<std::uint8_t> get_offline_cache_key_of_compile_config(CompileConfig *config) {
static TI_FORCE_INLINE std::vector<std::uint8_t>
get_offline_cache_key_of_compile_config(CompileConfig *config) {
TI_ASSERT(config);
BinaryOutputSerializer serializer;
serializer.initialize();
Expand Down Expand Up @@ -39,7 +40,7 @@ static TI_FORCE_INLINE std::vector<std::uint8_t> get_offline_cache_key_of_compil
serializer(config->default_fp->to_string());
serializer(config->default_ip.to_string());
serializer(config->extra_flags);
if(arch_is_cpu(config->arch)) {
if (arch_is_cpu(config->arch)) {
serializer(config->default_cpu_block_dim);
serializer(config->cpu_max_num_threads);
} else if (arch_is_gpu(config->arch)) {
Expand Down

0 comments on commit 901852c

Please sign in to comment.