Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

How to scale a batch of vectors in-place?

yecao
Beginner
1,210 Views

I learn from the MKL manual that we can scale a batch of group of vectors using cblas_daxpy_batch() function.

 

It is an out-of-place operation.

 

If I just want to scale a batch of vectors in-place, is there a way to replace using cblas_dscal() on by one?

0 Kudos
3 Replies
MRajesh_intel
Moderator
1,154 Views

Hi,


Thanks for posting your query.


>>Is there a way to replace using cblas_dscal() on by one?


We will get back to you regarding this.


Regards

Rajesh.


0 Kudos
Gennady_F_Intel
Moderator
1,118 Views

in that case, you need to build your own function.


0 Kudos
Gennady_F_Intel
Moderator
1,086 Views

The issue is closing and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread or submit the Feature Request issue to the Intel Online Service Center. Any further interaction in this thread will be considered community only.



0 Kudos
Reply