gpu

package
v3.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package gpu implements the simulation components for the GPU level.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GPU

type GPU struct {
	// contains filtered or unexported fields
}

func NewGPU

func NewGPU() *GPU

func (*GPU) Build

func (g *GPU) Build()

func (*GPU) RunThreadBlock

func (g *GPU) RunThreadBlock(tb *nvidia.ThreadBlock)

RunThreadBlock runs a threadblock on the GPU [todo] how to handle the relationship between trace.threadblock and truethreadblock

func (*GPU) WithALU

func (g *GPU) WithALU(aluType string, num int32) *GPU

func (*GPU) WithGPCNum

func (g *GPU) WithGPCNum(num int32) *GPU

func (*GPU) WithGPCStrategy

func (g *GPU) WithGPCStrategy(strategy string) *GPU

func (*GPU) WithGPUStrategy

func (g *GPU) WithGPUStrategy(strategy string) *GPU

func (*GPU) WithL0CacheSize

func (g *GPU) WithL0CacheSize(size int32) *GPU

func (*GPU) WithL1CacheSize

func (g *GPU) WithL1CacheSize(size int32) *GPU

func (*GPU) WithL2CacheSize

func (g *GPU) WithL2CacheSize(size int32) *GPU

func (*GPU) WithLaneSize

func (g *GPU) WithLaneSize(size int32) *GPU

func (*GPU) WithRegisterFileSize

func (g *GPU) WithRegisterFileSize(size int32) *GPU

func (*GPU) WithSMNum

func (g *GPU) WithSMNum(num int32) *GPU

func (*GPU) WithSMStrategy

func (g *GPU) WithSMStrategy(strategy string) *GPU

func (*GPU) WithSMUnitNum

func (g *GPU) WithSMUnitNum(num int32) *GPU

func (*GPU) WithSMUnitStrategy

func (g *GPU) WithSMUnitStrategy(strategy string) *GPU

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳