Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

DI-related ICE #344

Closed
maleadt opened this issue Feb 14, 2019 · 0 comments
Closed

DI-related ICE #344

maleadt opened this issue Feb 14, 2019 · 0 comments
Labels

Comments

@maleadt
Copy link
Member

maleadt commented Feb 14, 2019

julia -g2

using CUDAnative, StaticArrays

function knl!()
  r_a = MArray{Tuple{4}, Float32}(undef)

  @inbounds r_a[0] = 0

  nothing
end

CUDAnative.code_llvm(knl!, Tuple{})
invalid subroutine type ref
!9 = !DISubroutineType(types: !10)
!10 = distinct !{!10}
!10 = distinct !{!10}
ERROR: LoadError: LLVM error: Broken module found, compilation aborted!
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant