Source file src/simd/testdata/timport/relay/relay.go
1 // Copyright 2026 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Package relay sits between main1 and isimd without directly importing "simd". 6 // It exports V with an unexported SIMD-embedding type from timport/isimd, as 7 // well as non-SIMD package variables (VdotReduceSum, PTwoP1) initialized from 8 // isimd's SIMD-dependent package-var chains. 9 package relay 10 11 import "timport/isimd" 12 13 // Does NOT directly import simd. 14 // DOES export a variable with a type, private to timport/isimd, that embeds a simd type. 15 16 var V = isimd.F() 17 var VdotReduceSum = isimd.G() 18 var PTwoP1 = isimd.H() 19