1 | #pragma once |
---|---|
2 | #include "taichi/program/program.h" |
3 | |
4 | namespace taichi::lang { |
5 | |
6 | inline bool codegen_vector_type(const CompileConfig &config) { |
7 | return !config.real_matrix_scalarize; |
8 | } |
9 | |
10 | } // namespace taichi::lang |
11 |
1 | #pragma once |
---|---|
2 | #include "taichi/program/program.h" |
3 | |
4 | namespace taichi::lang { |
5 | |
6 | inline bool codegen_vector_type(const CompileConfig &config) { |
7 | return !config.real_matrix_scalarize; |
8 | } |
9 | |
10 | } // namespace taichi::lang |
11 |