How do I make MATLAB use the "MKL_CBWR" environment variable as the CNR branch?
    28 views (last 30 days)
  
       Show older comments
    
    MathWorks Support Team
    
 on 2 Jan 2024
  
    
    
    
    
    Answered: MathWorks Support Team
    
 on 4 Jan 2024
            I would like to change the CNR branch from "AVX2" to "COMPATIBLE". I set a new environment variable as such:
MKL_CBWR = COMPATIBLE
This environment variable is detected by MATLAB, which is confirmed with the following command:
>> getenv('MKL_CBWR')
ans =  'COMPATIBLE'
However, the CNR branch is not changed, which is confirmed by this command:
>> version -blas
ans =  'Intel(R) oneAPI Math Kernel Library Version 2021.3-Product Build 20220428 for Intel(R) 64 architecture applications (CNR branch AVX2)'
How do I make MATLAB use the "MKL_CBWR" environment variable as the CNR branch?
Accepted Answer
  MathWorks Support Team
    
 on 2 Jan 2024
        MATLAB does not use the "MKL_CBWR" environment variable unless "MATLAB_DISABLE_CBWR" is also set to 1.
Therefore, create another environment variables as such:
MATLAB_DISABLE_CBWR = 1
Then, restart MATLAB.
0 Comments
More Answers (0)
See Also
Categories
				Find more on Audio I/O and Waveform Generation in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!