Skip to content

Instantly share code, notes, and snippets.

View rsimd's full-sized avatar

riki.m rsimd

View GitHub Profile
julia> using CuArrays
Internal error: encountered unexpected error in runtime:
BoundsError(a=Array{Core.Compiler.BasicBlock, (32,)}[
Core.Compiler.BasicBlock(stmts=Core.Compiler.StmtRange(first=1, last=7), preds=Array{Int64, (1,)}[32], succs=Array{Int64, (1,)}[2]),
Core.Compiler.BasicBlock(stmts=Core.Compiler.StmtRange(first=8, last=14), preds=Array{Int64, (1,)}[1], succs=Array{Int64, (2,)}[5, 3]),
Core.Compiler.BasicBlock(stmts=Core.Compiler.StmtRange(first=15, last=20), preds=Array{Int64, (1,)}[2], succs=Array{Int64, (1,)}[4]),
Core.Compiler.BasicBlock(stmts=Core.Compiler.StmtRange(first=21, last=21), preds=Array{Int64, (1,)}[3], succs=Array{Int64, (1,)}[7]),
Core.Compiler.BasicBlock(stmts=Core.Compiler.StmtRange(first=22, last=28), preds=Array{Int64, (1,)}[2], succs=Array{Int64, (1,)}[6]),
Core.Compiler.BasicBlock(stmts=Core.Compiler.StmtRange(first=29, last=29), preds=Array{Int64, (1,)}[5], succs=Array{Int64, (1,)}[7]),
Core.Compiler.BasicBlock(stmts=Core.Compiler.StmtRange(first=30, last=47
@rsimd
rsimd / Dockerfile
Last active June 13, 2019 13:55
Error of my Dockerfile for CuArrays.jl and Flux.jl
FROM nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04
#FROM nvidia/cuda:10.0-cudnn7-devel-ubuntu16.04
#FROM nvidia/cuda:8.0-cudnn7-devel-ubuntu16.04
#FROM pytorch/pytorch:1.1.0-cuda10.0-cudnn7.5-devel
ENV LANG C.UTF-8
ENV NVIDIA_VISIBLE_DEVICES 0
ENV NVIDIA_DRIVER_CAPABILITIES utility,compute
#ENV CUDA_PATH /usr/local/cuda
ENV CUDA_ROOT /usr/local/cuda