Registry / other / gpu-mtl

gpu-mtl

JSON →
library0.0.0-20221208032759-85de2813cf6bgogounverified

Package mtl provides access to Apple's Metal API for GPU programming.

go get dmitri.shuralyov.com/gpu/mtl
INSTALL
IMPORT
SIG · GPU-MTL
G
gpu-mtl
othergov0.0.0-20221208032759-85de2813cf6b
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mtl
dmitri.shuralyov.com/gpu/mtl

Get default Metal device

package main import ( "fmt" "dmitri.shuralyov.com/gpu/mtl" ) func main() { device, err := mtl.CreateSystemDefaultDevice() if err != nil { fmt.Println(err) return } fmt.Println(device.Name()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20221208032759-85de2813cf6blatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Meta
1
Resources
gpu-mtl — go get gpu-mtl · libregistry