mirror of
https://github.com/minio/minio.git
synced 2025-12-07 16:22:33 -05:00
Update documentation for crc32c, cpu
This commit is contained in:
11
pkgs/cpu/Makefile
Normal file
11
pkgs/cpu/Makefile
Normal file
@@ -0,0 +1,11 @@
|
||||
all: build test
|
||||
.PHONY: all
|
||||
|
||||
build:
|
||||
@godep go build
|
||||
|
||||
test: build
|
||||
@godep go test -race -coverprofile=cover.out
|
||||
|
||||
clean:
|
||||
@rm -v cover.out
|
||||
11
pkgs/cpu/doc.go
Normal file
11
pkgs/cpu/doc.go
Normal file
@@ -0,0 +1,11 @@
|
||||
// Package cpu provides wrapper around assembly functions for checking processor
|
||||
// instruction capabilities for SSE4.1, AVX, AVX2 support
|
||||
//
|
||||
// Example
|
||||
//
|
||||
// ``cpu.HasSSE41()`` returns true for SSE4.1 instruction support, false otherwise
|
||||
//
|
||||
// ``cpu.HasAVX()`` returns true for AVX instruction support, false otherwise
|
||||
//
|
||||
// ``cpu.HasAVX2()`` returns true for AVX2 instruction support, false otherwise
|
||||
package cpu
|
||||
Reference in New Issue
Block a user