Skip to content

Instantly share code, notes, and snippets.

Avatar
✈️
Travelling

Valentin Churavy vchuravy

✈️
Travelling
  • Cambridge, MA, USA
View GitHub Profile
@maleadt
maleadt / ptxjit.jl
Last active Sep 28, 2016
PTX JIT (WIP)
View ptxjit.jl
using LLVM
using CUDAdrv, CUDAnative
using Base.Test
dev = CuDevice(0)
cap = capability(dev)
# helper methods for querying version DBs
# (tool::VersionNumber => devices::Vector{VersionNumber})
flatten(vecvec) = vcat(vecvec...)