Package: RTW
Create code replacement table entry for a BLAS operation
obj = RTW.TflBlasEntryGenerator
example
obj = RTW.TflBlasEntryGenerator creates a handle, obj, to a code replacement table entry for a BLAS operator. The entry maps a conceptual representation of an operator to an implementation (replacement) representation.
obj
collapse all
This example shows how to create a code replacement table entry for a BLAS operator, op_entry.
op_entry
hTable = RTW.TflTable; arch = computer('arch'); compilerName = 'microsoft'; LibPath = fullfile('$(MATLAB_ROOT)', 'extern', ... 'lib', arch, compilerName); op_entry = RTW.TflBlasEntryGenerator; libExt = 'lib'; setTflCOperationEntryParameters(op_entry, ... 'Key', 'RTW_OP_MUL', ... 'Priority', 100, ... 'ImplementationName', 'dgemm32', ... 'ImplementationHeaderFile', 'blascompat32_crl.h', ... 'ImplementationHeaderPath', fullfile('$(MATLAB_ROOT)','extern','include'), ... 'AdditionalLinkObjs', {['libmwblascompat32.' libExt]}, ... 'AdditionalLinkObjsPaths', {LibPath}, ... 'SideEffects', true);
The obj is a handle to the created code replacement table entry for a BLAS operator.
RTW.TflCBlasEntryGenerator | RTW.TflCOperationEntry | RTW.TflTable
RTW.TflCBlasEntryGenerator
RTW.TflCOperationEntry
RTW.TflTable