Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
26 Views

Using intel MKL vector math function for multi-dimensional array

Jump to solution

Suppose both `a` and `b` are 1-dimensional array with size n, then we can use `vdexp(n, a, b)` to compute the b = exp(a) with MKL function `vdexp`.

When `a` is a two dimensional array with size n1*n2, which is the efficient way to use `vdexp`, a loop over columns or reshape `a` to a one-dimensional array?

 

0 Kudos

Accepted Solutions
Highlighted
26 Views

call vdexp(size(a),a,b)

Jim Dempsey

 

View solution in original post

0 Kudos
1 Reply
Highlighted
27 Views

call vdexp(size(a),a,b)

Jim Dempsey

 

View solution in original post

0 Kudos