Comments (12)
Good point! Thanks for the heads-up. Should be working now? (You'll need to do git submodule update --init --recursive
, after doing git pull
)
from coriander.
oh wiat, still something missing. checking...
from coriander.
Should be mildly healthier now?
from coriander.
Big heads-up though. Curently I'm hard at work on a massive overhaul ,in branch runtime-compile
, https://github.com/hughperkins/cuda-on-cl/compare/runtime-compile?expand=1 It's mildly broken, but I can compile/run cuda_sample.cu ok. I think that since you're working on trying to get basic things working for now, might be good to try this branch?
quick heads-up: the main changes in this branch are:
- major refactorization, you probably wont notice this too much
- generation of device-side opencl from device-side IR happens at runtime now => you wil lalmost certainly notice this change. Whether this makes things work better or worse for you is uncertain to me at this time.
from coriander.
after checking out runtime-compile branch, re-compile again, get another error http://pastebin.ubuntu.com/23478287/
from coriander.
Hmmm, builds ok for me. And I tried in docker earlier too. And worked in docker too. Are you sure you're trying 'runtime-compile' branch? If I switch to runtime-compile branch, there is no 'ConstantDumper.cpp' file at all in fact:
(env3cl) ubuntu@peach:~/git/cuda-on-cl/build$ git checkout runtime-compile
Already on 'runtime-compile'
Your branch is up-to-date with 'hugh/runtime-compile'.
(env3cl) ubuntu@peach:~/git/cuda-on-cl/build$ ls ../src/Constant*
ls: cannot access '../src/Constant*': No such file or directory
(env3cl) ubuntu@peach:~/git/cuda-on-cl/build$ git checkout instruction-own-class
Switched to branch 'instruction-own-class'
Your branch is up-to-date with 'hugh/instruction-own-class'.
(env3cl) ubuntu@peach:~/git/cuda-on-cl/build$ ls ../src/Constant*../src/ConstantDumper.cpp ../src/ConstantDumper.h
Can you do:
git status
git log -n 3
... and paste the results?
from coriander.
Thanks hughperkins , git clone the whole repo again and checkout runtime-compile branch, it works now. Recently the github is very very slow in my side, probably it broke somewhere.
BTW, comment out -device.cl in cocl.Makefile?
from coriander.
Yes, opencl generation is done at runtime now, from hostside_opencl_funcs.cpp
Ir-to-opencl
executable is still available, but just for debugging/testing really.
On 15 November 2016 03:35:41 GMT+00:00, alephman [email protected] wrote:
Thanks hughperkins , git clone the whole repo again and checkout
runtime-compile branch, it works now. Recently the github is very very
slow in my side, probably it broke somewhere.
BTW, comment out -device.cl in cocl.Makefile?You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#7 (comment)
Sent from my Android device with K-9 Mail. Please excuse my brevity.
from coriander.
(oh, hmmm, note my observation "it works ok from docker" was actually running the clone, inside the docker, from master branch, hence ignore that comment :-) )
from coriander.
(but note that the technology exists now to build other branches :-) https://github.com/hughperkins/cuda-on-cl/blob/runtime-compile/docker/Dockerfile#L3 )
from coriander.
Note that massive overhaul/merge-to-master might mean that some things that were broken for work better/differently now?
from coriander.
this seems relally old, and non-specific. Lets close it. Please open new issues for any outstanding issues that havent been addressed here.
from coriander.
Related Issues (20)
- cocl_py cuda_sample.cu dont work HOT 3
- when run "make -j 8 tests", something went wrong,seems like the "PIE object" problem. HOT 5
- How much work would it be to update to OpenCL 3.0/Cuda 12...cuda has always been back wards compatable HOT 1
- CMake issues
- Cython Integration
- i.MX8M Vivante GPU not working (Sorry I messed up, delete this)
- i.MX8M Vivante GPU Not Working HOT 1
- MacOS installation error [Errno 2] No such file or directory HOT 3
- tests compilation problem HOT 1
- run install and get error HOT 1
- I'm extremely impressed by this project. HOT 2
- questions about cuda api HOT 1
- Windows installation HOT 1
- help with make run-tests HOT 1
- Issue installing on MacOS10.15.5 HOT 2
- Question about generating an executable with multiple source files HOT 1
- Success compiling and running cuda_example.cu on Apple M1 Big sur HOT 1
- diffs to compile for clang 9
- documenting fix for clang error: reference to host function from device HOT 1
- update on compiling with big sure and clang11: HOT 8
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 coriander.