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

How to scale a batch of vectors in-place?

yecao
Beginner
834 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
778 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
742 Views

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


0 Kudos
Gennady_F_Intel
Moderator
710 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