Skip to content

Commit cc1be59

Browse files
committed
update coder / mex build options (for missed file)
1 parent b466c12 commit cc1be59

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Core/Utils/build_spkron.m

+5-4
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,19 @@
1313
cfg.MATLABSourceComments = true;
1414
cfg.GenerateReport = true;
1515
cfg.ConstantFoldingTimeout = 2147483647;
16-
cfg.DynamicMemoryAllocation = 'AllVariableSizeArrays';
16+
cfg.EnableDynamicMemoryAllocation = true;
1717
cfg.SaturateOnIntegerOverflow = false;
1818
cfg.EnableAutoExtrinsicCalls = false;
19-
cfg.InlineThreshold = 2147483647;
20-
cfg.InlineThresholdMax = 2147483647;
21-
cfg.InlineStackLimit = 2147483647;
19+
cfg.InlineBetweenUserFunctions = 'Always';
20+
cfg.InlineBetweenMathWorksFunctions = 'Always';
21+
cfg.InlineBetweenUserAndMathWorksFunctions = 'Always';
2222
cfg.StackUsageMax = 16777216;
2323
cfg.IntegrityChecks = false;
2424
cfg.ResponsivenessChecks = false;
2525
cfg.ExtrinsicCalls = false;
2626
cfg.EchoExpressions = false;
2727
cfg.GlobalDataSyncMethod = 'NoSync';
28+
cfg.SIMDAcceleration = 'Full';
2829

2930
%% Define argument types for entry-point 'spkron_internal_mex'.
3031
ARGS = cell(1,1);

0 commit comments

Comments
 (0)