cura

package module
v0.0.0-...-104d019 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseDriver

func ReleaseDriver(d *Driver)

Types

type Driver

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

func CreateDriver

func CreateDriver() *Driver

func (*Driver) Compile

func (d *Driver) Compile(json string) int

func (*Driver) Explain

func (d *Driver) Explain(json string, extended bool) (int, []string)

func (*Driver) FinishPipeline

func (d *Driver) FinishPipeline() int

func (*Driver) HasNextPipeline

func (d *Driver) HasNextPipeline() bool

func (*Driver) IsHeapSource

func (d *Driver) IsHeapSource(sourceId int64) bool

func (*Driver) IsPipelineFinal

func (d *Driver) IsPipelineFinal() bool

func (*Driver) PipelineHasNextSource

func (d *Driver) PipelineHasNextSource() bool

func (*Driver) PipelineNextSource

func (d *Driver) PipelineNextSource() int64

func (*Driver) PipelinePush

func (d *Driver) PipelinePush(threadId int64, sourceId int64, record *array.Record) (int, *InputRecord)

func (*Driver) PipelineStream

func (d *Driver) PipelineStream(threadId int64, sourceId int64, record *array.Record, rows uint64) (int, *OutputRecord)

func (*Driver) PreparePipeline

func (d *Driver) PreparePipeline() int

func (*Driver) SetBucketAggregate

func (d *Driver) SetBucketAggregate(enable bool) int

func (*Driver) SetBucketAggregateBuckets

func (d *Driver) SetBucketAggregateBuckets(buckets uint64) int

func (*Driver) SetExclusiveDefaultMemoryResource

func (d *Driver) SetExclusiveDefaultMemoryResource(exclusive bool) int

func (*Driver) SetMemoryResource

func (d *Driver) SetMemoryResource(memoryResource MemoryResource) int

func (*Driver) SetMemoryResourceSize

func (d *Driver) SetMemoryResourceSize(size uint64) int

func (*Driver) SetMemoryResourceSizePerThread

func (d *Driver) SetMemoryResourceSizePerThread(size uint64) int

func (*Driver) SetThreadsPerPipeline

func (d *Driver) SetThreadsPerPipeline(threadsPerPipeline uint64) int

type InputRecord

type InputRecord struct {
	array.Record
	// contains filtered or unexported fields
}

type MemoryResource

type MemoryResource int8
const (
	Arena MemoryResource = iota
	ArenaPerThread
	Pool
	PoolPerThread
	Managed
	Cuda
)

type OutputRecord

type OutputRecord struct {
	array.Record
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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