Skip to content

[BUG] Duplicate header strings after preprocessing #148

@cliffburdick

Description

@cliffburdick

When using the Jitify2 preprocessor the output header contains the same header repeated multiple times, leading to much longer compilations:

__jitify_rel_inc@__jitify_I2@/matx/transforms/solve@__jitify_name@matx/core/tensor.h
__jitify_rel_inc@__jitify_I2@/matx/operators@__jitify_name@matx/core/tensor.h
__jitify_rel_inc@__jitify_I2@/matx/transforms/qr@__jitify_name@matx/core/tensor.h
__jitify_rel_inc@__jitify_I2@/matx/kernels@__jitify_name@matx/core/tensor.h
11 more...

In the source code the file is always included as "matx/core/tensor.h", but the prefix added by Jitify seems to make it unique.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions