Skip to content

Stack trace ommited due to inlining (Windows) #9771

@SimonDanisch

Description

@SimonDanisch

If I run this code:
https://gist.github.com/SimonDanisch/c5bc1f0422ba64fd46c5#file-interopcontext-jl
I get the following error:

ERROR: InexactError()
 in convert at pointer.jl:7 (repeats 2 times)
while loading C:\Users\Sim\Desktop\Julia\qjulia_gpu\qjulia.jl, in expression starting on line 21

If i run it with julia --inline=no(pointed out by @timholy in #1334) I get the following:

ERROR: InexactError()
 in convert at no file
 in convert at pointer.jl:7
 in cl_context_properties at C:\Users\Sim\.julia\v0.4\OpenCL\src\types.jl:136
 in _parse_properties at C:\Users\Sim\.julia\v0.4\OpenCL\src\context.jl:174
 in Context at C:\Users\Sim\.julia\v0.4\OpenCL\src\context.jl:60
 in Context at C:\Users\Sim\.julia\v0.4\OpenCL\src\context.jl:84
 in get_interopcontext at C:\Users\Sim\Desktop\Julia\qjulia_gpu\qjulia.jl:17
 in include at no file
 in include_from_node1 at loading.jl:128
 in process_options at no file
 in _start at no file
while loading C:\Users\Sim\Desktop\Julia\qjulia_gpu\qjulia.jl, in expression st
rting on line 21

Which is how the stacktrace is supposed to look!

Julia Version 0.4.0-dev+2523
Commit e26eb53* (2015-01-06 05:57 UTC)
Platform Info:
  System: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

Best,
Simon

Metadata

Metadata

Assignees

No one assigned

    Labels

    error handlingHandling of exceptions by Julia or the usersystem:windowsAffects only Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions