sm

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 sm implements the simulation components for the SM level.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SM

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

func NewSM

func NewSM() *SM

func (*SM) Build

func (s *SM) Build()

func (*SM) Execute

func (s *SM) Execute(tb *nvidia.ThreadBlock)

func (*SM) IsFree

func (s *SM) IsFree() bool

func (*SM) WithALU

func (s *SM) WithALU(aluType string, aluNum int32) *SM

func (*SM) WithL0CacheSize

func (s *SM) WithL0CacheSize(size int32) *SM

func (*SM) WithL1CacheSize

func (s *SM) WithL1CacheSize(size int32) *SM

func (*SM) WithLaneSize

func (s *SM) WithLaneSize(size int32) *SM

func (*SM) WithRegisterFileSize

func (s *SM) WithRegisterFileSize(size int32) *SM

func (*SM) WithSMStrategy

func (s *SM) WithSMStrategy(strategy string) *SM

func (*SM) WithSMUnitNum

func (s *SM) WithSMUnitNum(num int32) *SM

func (*SM) WithSMUnitStrategy

func (s *SM) WithSMUnitStrategy(strategy string) *SM

Jump to

Keyboard shortcuts

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