You just moved where the hardware specific stuff is defined. That statement is still hardware specific. I’ll admit that this is a pretty neat feature and technique that can be used with Julia to be able to make generic code hardware specific. I’d be curious if there is some similar kind of technique that could be developed in Fortran.
1 Like