Software Archive
Read-only legacy content
17061 Discussions

Does MIC have blend intrinsic?

Yuan_Y_
Beginner
632 Views

Hi,

I have two vectors, vector A: 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31

vector B: 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32

I want to generate two new vector:

new_a: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16

new_b:17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32

Does MIC such intrinsic like blend such that I can achieve the above goal using two instructions in total?

Thanks

0 Kudos
2 Replies
Kevin_D_Intel
Employee
632 Views

The same question was asked earlier this morning. Read here for the earlier answer to see if that helps.

0 Kudos
Yuan_Y_
Beginner
632 Views

Thanks Kevin.

0 Kudos
Reply