Comments (3)
I did quite a lot of changes in the python binding, trying to reflect every dectected error as a python Exception. The latest pypi wheel (0.3.10) contains the fixes. Not tested very thoroughly. Please continue to file issues if there's anything wrong.
from thrustrtc.
I'm not quite familiar with python Exceptions. There are quite many of them: https://docs.python.org/3/library/exceptions.html. Not sure which one I should throw in case of this. Is it ValueError? Or should I define another exception subclass and use it all through the project?
from thrustrtc.
I think ValueError
is the best one in this situation.
from thrustrtc.
Related Issues (20)
- import fails after fresh install with pip (/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found) HOT 7
- Give more useful debug feedback for internal error HOT 6
- update conda package HOT 5
- ThrustRTC example failed execution - Loading libnvrtc failed. cuMemAlloc() failed with Error code: 2 HOT 5
- Large alloc bug, regression in 0.3.11 HOT 5
- Possibility of doing FFT and representing Complex Numbers with ThrustRTC HOT 9
- release/packaging syncinc HOT 2
- provide ThrustRTC.__version__ HOT 2
- Fill() regression in 0.3.9 HOT 18
- raise an exception in case of incompatible CUDA version HOT 8
- a case of lack of type specifiers in header_of_structs.h HOT 9
- better error handling for 0-size vector creation HOT 2
- Sequence() works on Compute Capability 6.1, but doesn't work on 8.6 HOT 7
- Raise "NVRTC version too high for GPU (compute_7)" on RTX2060 when "Sort_By_Key" HOT 2
- About python trtc.Functor HOT 3
- About mutliprocess HOT 1
- Inability to do arithmetic operations for different argument types - bug or feature? HOT 4
- Question: JCuda integration HOT 1
- segfault in reduction (due to NULL returned from native.n_reduce()) HOT 2
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 thrustrtc.