Skip to content

Halide-2017-10における動作 #11

Description

@arutema47

Halide-2017-10を用いてconvolutionをmakeしたところ、

Halide//include/Halide.h:24143:21: error: pasting "reg_" and ""convolution"" does not give a valid preprocessing token
static auto reg_##GEN_REGISTRY_NAME = Halide::Internal::RegisterGenerator(#GEN_REGISTRY_NAME, GEN_REGISTRY_NAME##_ns::factory);

convolution_generator.cc:37:40: error: expected unqualified-id before user-defined string literal
HALIDE_REGISTER_GENERATOR(Convolution, "convolution")

/Halide//include/Halide.h:24146:75: error: expected \u2018}\u2019 at end of input
"HALIDE_REGISTER_GENERATOR must be used at global scope");

等のエラーが出てしまいました。(original Halideの動作は確認しております)

Halide-2017-10では動作しないなどあるのでしょうか。
buildしたLLVM,CLANGは4.0を使用しています。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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