Hi,
I am trying run below code with mtimesx as below
tic
mtimesx('SPEEDOMP','OMP_SET_NUM_THREADS(4)');
C=mtimesx(A,B);
mtimesx
to
c
where, A= 1x3x79x 50000 complex 4D matrix, B=3x2x79 complex matrix, C= 1x2x79x50000 4D complex matrix.
I find that mtimesx is using SPEED mode instead of SPEEDOMP mode and execution time is about 0.3-0.4 ms .
I would like to know :
- Why SPEEDOMP mode is not used.
- Can the execution time be improved by SPEEDOMP mode.
- Is there any other arlternative to improve the execution time.
I am using following setup
Matlab '9.6.0.1072779 (R2019a)'
Windows 7, 64 bit.
memory 8 GB,
Intel i7-4800MQ , 4Core, 8 Theread
Looking forward .
2 Comments
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/601036-mtimesx-issue-execution-time#comment_1029487
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/601036-mtimesx-issue-execution-time#comment_1029487
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/601036-mtimesx-issue-execution-time#comment_1029718
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/601036-mtimesx-issue-execution-time#comment_1029718
Sign in to comment.