14 lines
526 B
Go
14 lines
526 B
Go
// Copyright (c) 2026 Petr Balvín <opensource@petrbalvin.org> (https://petrbalvin.org)
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
//go:build race
|
|
|
|
package tensor
|
|
|
|
// oracleRaceSuffix marks the digest block of a race-instrumented build.
|
|
// The instrumentation changes what the compiler contracts into a fused
|
|
// multiply-add, so a race build rounds differently from an otherwise
|
|
// identical plain build: it is a configuration of its own, recorded
|
|
// beside the GOAMD64 level rather than mixed into it.
|
|
const oracleRaceSuffix = "+race"
|