platform

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package platform provides default platform builders.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmuBuilder added in v1.7.1

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

EmuBuilder can build a platform for emulation purposes.

func MakeEmuBuilder added in v1.7.1

func MakeEmuBuilder() EmuBuilder

MakeEmuBuilder creates a EmuBuilder with default parameters.

func (EmuBuilder) Build added in v1.7.1

func (b EmuBuilder) Build() (akita.Engine, *driver.Driver)

Build builds a emulation platform.

func (EmuBuilder) WithISADebugging added in v1.7.1

func (b EmuBuilder) WithISADebugging() EmuBuilder

WithISADebugging enables ISA debugging in the simulation.

func (EmuBuilder) WithLog2PageSize added in v1.7.1

func (b EmuBuilder) WithLog2PageSize(n uint64) EmuBuilder

WithLog2PageSize sets the page size as a power of 2.

func (EmuBuilder) WithMemTracing added in v1.7.1

func (b EmuBuilder) WithMemTracing() EmuBuilder

WithMemTracing lets the platform to trace memory operations.

func (EmuBuilder) WithNumGPU added in v1.7.1

func (b EmuBuilder) WithNumGPU(n int) EmuBuilder

WithNumGPU sets the number of GPUs to build.

func (EmuBuilder) WithParallelEngine added in v1.7.1

func (b EmuBuilder) WithParallelEngine() EmuBuilder

WithParallelEngine lets the EmuBuilder to use parallel engine.

func (EmuBuilder) WithVisTracing added in v1.7.1

func (b EmuBuilder) WithVisTracing() EmuBuilder

WithVisTracing lets the platform to record traces for visualization purposes.

func (EmuBuilder) WithoutProgressBar added in v1.7.1

func (b EmuBuilder) WithoutProgressBar() EmuBuilder

WithoutProgressBar disables the progress bar for kernel execution

type R9NanoPlatformBuilder added in v1.7.1

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

R9NanoPlatformBuilder can build a platform that equips R9Nano GPU.

func MakeR9NanoBuilder added in v1.7.1

func MakeR9NanoBuilder() R9NanoPlatformBuilder

MakeR9NanoBuilder creates a EmuBuilder with default parameters.

func (R9NanoPlatformBuilder) Build added in v1.7.1

Build builds a platform with R9Nano GPUs.

func (R9NanoPlatformBuilder) WithISADebugging added in v1.7.1

func (b R9NanoPlatformBuilder) WithISADebugging() R9NanoPlatformBuilder

WithISADebugging enables ISA debugging in the simulation.

func (R9NanoPlatformBuilder) WithLog2PageSize added in v1.7.1

func (b R9NanoPlatformBuilder) WithLog2PageSize(
	n uint64,
) R9NanoPlatformBuilder

WithLog2PageSize sets the page size as a power of 2.

func (R9NanoPlatformBuilder) WithMemTracing added in v1.7.1

func (b R9NanoPlatformBuilder) WithMemTracing() R9NanoPlatformBuilder

WithMemTracing lets the platform to trace memory operations.

func (R9NanoPlatformBuilder) WithMonitor added in v1.10.0

WithMonitor sets the monitor that is used to monitor the simulation

func (R9NanoPlatformBuilder) WithNumGPU added in v1.7.1

WithNumGPU sets the number of GPUs to build.

func (R9NanoPlatformBuilder) WithParallelEngine added in v1.7.1

func (b R9NanoPlatformBuilder) WithParallelEngine() R9NanoPlatformBuilder

WithParallelEngine lets the EmuBuilder to use parallel engine.

func (R9NanoPlatformBuilder) WithPartialVisTracing added in v1.9.0

func (b R9NanoPlatformBuilder) WithPartialVisTracing(
	start, end akita.VTimeInSec,
) R9NanoPlatformBuilder

WithPartialVisTracing lets the platform to record traces for visualization purposes. The trace will only be collected from the start time to the end time.

func (R9NanoPlatformBuilder) WithVisTracing added in v1.7.1

func (b R9NanoPlatformBuilder) WithVisTracing() R9NanoPlatformBuilder

WithVisTracing lets the platform to record traces for visualization purposes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL