Comments (10)
Hello, Karl, @karlrupp I have some trouble while using element_op functions.
When I use the following command to get the element_geq
, _greater
, _less
and etc, I got the result matrix_expression but I don't know how to handle it. I can't impose copy functions to fetch the result back to CPU or do other things. And I have no idea about what it would return, if 1 for geq, 0 for less or -1 for less?
from viennacl-dev.
Assign it to a matrix object, e.g. A = element_geq(B, C);
from viennacl-dev.
Yeah, I have tried, but still stuck by a bug.
I tried to select the binary elementwise functions which can work.
element_prod
, _div
, _pow
works,
_eq
, _neq
, _greater
, etc. don't work.
from viennacl-dev.
Uh, then I guess that these other operators have not been implemented for matrices yet.
from viennacl-dev.
Uh, Karl, I found that arctan function works well. Maybe that could serve as a temporary workaround, but just temp.
from viennacl-dev.
Hello Karl, would you mind requesting the original maintainers to have a minor update? Though atan function serves as a kind of workaround, it sacrifices too much performance.
from viennacl-dev.
Here is my test error of viennacl::linalg::element_abs on matrix.
from viennacl-dev.
Hello @karlrupp , may I ask about whether viennacl is not maintained anymore and shall I turn to PETSc?
from viennacl-dev.
As I said, element_abs is not implemented for matrices yet. Thus, this is not a question about maintenance, but a feature request ;-)
Do you need abs
for the full matrix, or just for a submatrix? For a full matrix you could reuse the existing vector kernels (I can show you how to do it).
from viennacl-dev.
Yeah, Karl, I would appreciate it if you could show me how to do that when you are free. It would be better if the trick is generic for geq
and max
.
from viennacl-dev.
Related Issues (20)
- Unable to run tutorial amg HOT 1
- Filter for OpenCL context creation
- cuda-10.1 support HOT 2
- Iterative Solvers - Matrix Output? HOT 2
- Copying Eigen Matrix (host) to vcl_matrix (device) HOT 3
- Blaze lib support HOT 1
- Copying values in parallel HOT 3
- I have a problem with spai HOT 2
- Cannot compile against CUDA 9.1 on Ubuntu 18.04 HOT 4
- Tuning Lanczos to find all eigenvalues of a dense Hermitian matrix HOT 2
- Question about compute SPAI HOT 1
- Get CL_PLATFORM_NOT_FOUND_KHR when clGetPlatformIDs() is called in viennacl HOT 5
- How to achieve partial synchronization? HOT 5
- [Feature Request] range class modification after initialization HOT 1
- [Operator Missing]matrix_base += & -= float value HOT 3
- tests fail on AArch64, Fedora 33 HOT 6
- Viennacl failed to build with cuda-11.0
- error about wrap a viennacl vector with an existing device vector. HOT 1
- Assessment of the difficulty in porting CPU architecture for viennacl
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 viennacl-dev.