Comments (2)
Shorter repro:
using CUDAnative, CUDAdrv
@target ptx function kernel(out)
wid, lane = fldmod1(threadIdx().x, warpsize)
out[1] = wid
nothing
end
dev = CuDevice(0)
ctx = CuContext(dev)
d_out = CuArray(Int32, 1)
@cuda (1,1) kernel(d_out)
Array(d_out)
destroy(ctx)
from cudanative.jl.
Excellent! This works! :)
from cudanative.jl.
Related Issues (20)
- CUDAnative failed to initialize, no CUPTI provided HOT 2
- CUDAnative.fma performance problems HOT 4
- Better error if exclusive device is already in use HOT 1
- C++ compatible name mangling HOT 3
- WMMA examples always execute HOT 2
- Better warning on CUPTI insufficient permissions
- shfl does not like Bool HOT 2
- On Julia master: "Warning: Incompatibility detected between CUDA and LLVM 8.0+; disabling debug info emission for CUDA kernels" HOT 1
- Performance regression with new mapreduce HOT 1
- Errors in CUDAnative unit tests HOT 1
- WMMA tests fail on julia-debug HOT 6
- Cthulhu integration HOT 3
- Racy initializing HOT 1
- Can't access GPUs, get "ERROR: CUDA error: invalid device context (code 201, ERROR_INVALID_CONTEXT)" HOT 5
- 'Symbol "__nv_exp"not found' on Jetson Xavier NX HOT 4
- Is there a `@cushow` macro? HOT 7
- Initializing static shared memory with function argument HOT 1
- Atomic operations on shared memory HOT 3
- PTX JIT compilation issue: Call to gpu_report_oom has wrong number of parameters HOT 9
- Warning: `haskey(::TargetIterator, name::String)` is deprecated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cudanative.jl.