Questions tagged [cblas]
59 questions
1
vote
0 answers
dyld[23882]: symbol not found in flat namespace (_cblas_caxpy)
I am trying to execute a python code on MacOs put I am getting the symbol not found in flat namespace error. My friend using a linux OS has been able to compile the same code using the same command I used. Please how do I fix this?

Aminat Saula
- 11
- 1
1
vote
1 answer
GEMV BLAS and cuBLAS missing the "conjugate-only" ordering option?
I have a question about the BLAS and cublas interface and how to do a particular matrix-vector multiplication.
I have a call that I currently do with cblas_zgemv and gives the correct result.
Basically I have a complex 3x3 matrix A and a complex…

alfC
- 14,261
- 4
- 67
- 118
1
vote
1 answer
java.lang.UnsatisfiedLinkError: no mkl_rt in java.library.path
I have a java8 application in windows10 that uses smile library. When i run the LLE algorithm for example i was getting this warning:
smile-netlib module is not available in the classpath. Pure Java
matrix library will be employed.
So I decided…

vicangel
- 162
- 2
- 18
1
vote
2 answers
Averaging the color of pixels with Accelerate
Yes, I know about using CIAreaAverate CIFilter to get the average color of pixels.
I am trying to create some alternative using Accelerate Framework to see if I can come with something faster.
I am rendering a CIImage to a context. For that purpose…

Duck
- 34,902
- 47
- 248
- 470
1
vote
0 answers
Why does my matrix multiplication using DGEMM not work with transpose?
I've written the following function for matrix multiplication using DGEMM. It takes three matrices a, b and c as double arrays and calculates axb=c. The three integers rowsA, colsB und colsA_rowsB are used by DGEMM to use the correct dimensions.…

dYTe
- 191
- 1
- 8
1
vote
1 answer
Linking with gfortran: _edata: invalid version 21 (max 4)
I'm working with RHEL6 systems, but need to port the code using C++11 (and even C++14) features. This forced me to build gcc-8.2 by hand, installed under a private prefix (/prod/pfe/local). This created a number of executables under…

Mikhail T.
- 3,043
- 3
- 29
- 46
1
vote
0 answers
how can i use cblas dgemv in order to multiply different dimension vectors?
I have a vector sigma[40000] and another one u[200].
I want to use dgemv in order to multiply the first 200 numbers of sigma with u, and then the next 200-400 again with u until I use all of the numbers of sigma.
I have something like this:
for(i=0;…

sinok1
- 11
- 2
1
vote
2 answers
What changes should be made while executing cblas_cgemm();
I tried to do a matrix to matrix multiplication using the function cblas_cgemm(); But the answer I am getting is incorrect compared to manual calculation. I tried to simplify my code without using imaginary terms in input, but the problem remains.…

ANAGHA S GOURI
- 41
- 1
- 7
1
vote
1 answer
Blas dgemv slower than manual implementation
I'm trying to use BLAS in my c programm to improve the speed of a matrix/vector product.
Manually i had this code :
for (j = 0; j < ann->hidden; ++j) {
double delta = 0;
//h is known before
for (k = 0; k < (h ==…

Valentin Mercier
- 385
- 1
- 4
- 16
1
vote
1 answer
BLAS dger filling matrix in fortran order?
I am using cython to do a rank one update of a rectangular matrix A. I cannot get dger to do the update as I want, so I've isolated it in a function:
from scipy.linalg.cython_blas cimport dger
cimport cython
def test_dger(double[:, :] A, double[:]…

P. Camilleri
- 12,664
- 7
- 41
- 76
1
vote
1 answer
How to do dot product between matrices in caffe?
In inner product layer, I need to multiply (top_diff * bottom_data) .* (2*weight). First we calculate (result = top_diff * bottom_data) as matrix multiplication in caffe_cpu_gemm and then do a dot product between weight and result.
More explanation…

ahmad navid ghanizadeh
- 139
- 9
1
vote
0 answers
cblas on centos6 cannot be linked
Here is my ldconfig
$ ldconfig -p | grep blas
libptf77blas.so.3 (libc6,x86-64) => /usr/lib64/atlas/libptf77blas.so.3
libptcblas.so.3 (libc6,x86-64) => /usr/lib64/atlas/libptcblas.so.3
libf77blas.so.3 (libc6,x86-64) =>…

Vimos
- 691
- 1
- 9
- 23
1
vote
1 answer
Undefined reference: Cblas not linking
I'm having trouble linking a simple cblas program, here's my minimal example:
extern "C"
{
#include
}
#include
int main() {
int lda = 3;
float A[] = { 0.11, 0.12, 0.13,
0.21, 0.22, 0.23 };
…

Syntactic Fructose
- 18,936
- 23
- 91
- 177
0
votes
1 answer
error when compiling c flie with cblas.h, getting error error: expected identifier or ‘(’ before ‘__extension__’
I'm trying to create a shared library for python using ctypes. The following command works fine for my purpose:
gcc -g -fPIC -Wall -Wextra -pedantic *.c -shared -o cfunctions.so
However, when I use #include , I get the following…

Nam Vu
- 3
- 1
0
votes
1 answer
Extending Mel Spectrogram example from Apple Developers' docs to the case of recorded samples instead of live microphone
I'm building on top of Apple Developer's documentation example called Computing the Mel Spectrum Using Linear Algebra. My goal is to extend this example in order to be able to apply it to samples recorded from live microphone. Specifically I use the…

Baffo rasta
- 320
- 1
- 4
- 17