mat/internal/matfuncs/matfuncs_amd64.go
// Copyright 2022 The NLP Odyssey Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build amd64 && gc && !purego
package matfuncs
import "github.com/nlpodyssey/spago/mat/internal/matfuncs/cpu"
var (
hasAVX = cpu.X86.HasAVX
hasAVX2 = cpu.X86.HasAVX2
hasFMA = cpu.X86.HasFMA
)