Comments (3)
Thanks for the heads up! I also haven't tried the package from apt
in a long while because it always lagged so far behind. I guess I should try and make it work with that again.
I think that it is just the apt
package which changes the directory structure... my cuda-9.1 install using the regular nvidia installer has the usual folder structure in /usr/local/cuda
. We'll probably need a separate change to make accelerate-llvm-ptx
understand the folder structure used by apt
as well.
It is still looking for the nvvm
directory because that is where the standard math library is located, which contains the implementations of sin()
, cos()
, etc.
from cuda.
Hey np!
So the initial structure of /usr/lib/cuda is:
/usr/lib/cuda$ ls
bin include lib64 nvvm version.txt
bin, include, lib64 are all empty, nvvm contains libdevice
I set CUDA_PATH to be /usr/lib/cuda
I symlinked include as /usr/include and cuda built (because of missing cuda.h)
My simple executable compiled with accelerate-llvm-ptx, but wouldn't run because of missing ptxas at bin/ptxas so i symlinked bin as /usr/bin and everything ran.
Wasn't too bad
from cuda.
I think this is fixed and can be closed with AccelerateHS/accelerate#444
from cuda.
Related Issues (20)
- Unknown CUDA device compute capability 6.1 HOT 2
- Minor edits needed for 7.10 HOT 1
- CUDA 8 support [was: Plans to support CUDA 8?] HOT 4
- Build fails with library profiling HOT 4
- Compilation fails for CUDA-8 [was: ghc 7.10.3 fail to install] HOT 2
- On Windows, the Cabal installer is looking in the wrong place. HOT 5
- Problem with module `Foreign.CUDA.Path' when installing on Windows 8.1 with CUDA-8.0 HOT 38
- Issues with dynamic parallelism? HOT 3
- GHCi only works with Stack with a custom cabal.buildinfo file. HOT 1
- Driver failure on AWS p3.2xlarge instance HOT 18
- Build failure in cuda-0.10.0.0 HOT 3
- Won't compile on Arch Linux HOT 3
- Ubuntu 16.04 + nvidia-cuda-toolkit "Found CUDA toolkit at: /usr" but 'Could not find path: ["/usr/lib64"]' HOT 7
- package revision to restrict Cabal to <3.0 HOT 1
- Compile issues for Cabal 2? HOT 2
- Cannot find a definition for `cuDevicePrimaryCtxRelease' in the header file. HOT 3
- CUDA 11.3 compatibility HOT 4
- rpath linking to cuda toolkit HOT 2
- This Library isn't Compatible with Windows HOT 4
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 cuda.