Skip to content

llvm error #528

Description

@kailiu9

I have build tvm with CUDA and LLVM support(LLVM_CONFIG = /mypath/llvm-config). when I use nnvm.compiler.build(..., target="llvm", ...), there is no problem. But if I use target="cuda" then report error:attribute after last parameter! i32 (%0*, i8*, i32*, i8*, i8*) @fuse_sqrt_elemwise_add_compute_ LLVM ERROR: Broken function found, compilation aborted!
When I build tvm only with CUDA, there is no error.
Anyone can help me? Thank you!

Code: I use the example of Get Started with NNVM.

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