Giter VIP home page Giter VIP logo

godot-9's Introduction

basic install

rustup override set nightly-2019-12-12

cargo install ptx-linker 
 
rustup target add nvptx64-nvidia-cuda

install cuda and cudnn

#check environment if compilation fails (linker can't find library)

LD_LIBRARY_PATH !=== LIBRARY_PATH (cublas error)

export PATH=/usr/local/cuda/bin:$PATH
# export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda-10.0/targets/x86_64-linux/lib 
export LIBRARY_PATH=$LD_LIBRARY_PATH
export CUDA_HOME=/usr/local/cuda
export CUDA_LIBRARY_PATH=/usr/local/cuda/lib
export HOST_COMPILER=/usr/bin/cuda-g++
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:$HOME/include:/usr/local/cuda-10.0/include
export KERNEL_PTX_PATH=/home/bumzack/stoff/rust/rust-cuda-matrix/ptx/cuda_matrix.ptx
export KERNEL_PTX_PATH_RUST_MANDEL=/home/bumzack/stoff/rust/rustmandel_cuda/ptx/cuda_kernel_mandel.ptx
export KERNEL_PTX_PATH_RUST_RENDER=/home/bumzack/stoff/rust/raytracer-challenge/ptx/cuda_kernel_raytracer.ptx

install llvm 8 ?!

gfx crate & metal problems

see here for possible solutions: gfx-rs/gfx#2309 _

last working versions ubuntu 18

  • rustc: rustc 1.41.0-nightly (27d6f55f4 2019-12-11) rustup override set nightly-2019-12-12

  • llvm 8.0.0

godot-9's People

Contributors

bumzack avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.