This example is an implementation of the callback class The callback class must derive from the abstract class coder.BLASCallback. Share the callback class with others who want to use this BLAS library for BLAS calls in standalone code. To generate calls to a specific BLAS library in the generated code, write a BLAS callback class. Parameters dialog box, set Custom BLAS library callback to the name To indicate that you want to generate BLAS calls and use a specificīLAS library, specify the name of the BLAS callback class. A BLAS callback class specifies the BLAS library, theĬBLAS header file, certain C data types the particular CBLAS interface uses and theĬompiler and linker options for the build process. To produce BLAS calls in generated code, you must haveĪccess to a BLAS callback class. Specify a BLAS library that is optimized for yourĮxecution environment. The code generator uses the BLAS library that you specify. Otherwise, theĬode generator produces code for the matrix functions. Generate BLAS calls, and the input arrays for the matrix functions meetĬertain criteria, the code generator produces the BLAS calls. The code generator uses the CBLAS C interface to BLAS. BLAS is a software library for low-level vectorĪnd matrix computations that has several highly optimized machine-specific To improve the execution speed of code generated for certain low-level vectorĪnd matrix operations (such as matrix multiplication) in a MATLABįunction block, specify that you want the code generator to Speed Up Matrix Operations in Code Generated from a MATLAB
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |