Improving dot product for standard multidimensional D arrays

p.shkadzko p.shkadzko at gmail.com
Mon Mar 2 13:35:15 UTC 2020


On Monday, 2 March 2020 at 11:33:25 UTC, jmh530 wrote:
> On Sunday, 1 March 2020 at 20:58:42 UTC, p.shkadzko wrote:
>> Hello again,
>>
>> [snip]
>
>
> What compiler did you use and what flags?

Ah yes, sorry. I used latest ldc2 (1.20.0-x64) for Windows.
Dflags -mcpu=native and "inline", "optimize", "releaseMode".

Here is a dub.json of the project:

{
	"name": "app",
	"targetType": "executable",
	"dependencies": {
         "mir": "~>3.2.0"
	},
	"dflags-ldc": ["-mcpu=native"],

	"buildTypes": {
		"release": {
			"buildOptions": ["releaseMode", "inline", "optimize"],
			"dflags": ["-boundscheck=off"]
		},
		"tests": {
			"buildOptions": ["unittests"]
		}

	}
}



More information about the Digitalmars-d-learn mailing list