ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("lara.benchmark.ClavaBenchmarkInstance");

(.lara)
import lara.benchmark.ClavaBenchmarkInstance;

ClavaBenchmarkInstance

Constructor

ClavaBenchmarkInstance

new ClavaBenchmarkInstance(name)

(Extends BenchmarkInstance)
Instance of a Clava benchmark.

Implements _compilePrivate and .getKernel().

Parameters

name: any

Static Members

purgeCache

purgeCache()

Clears compilation cache of all ClavaBenchmarkInstances.


setCache

setCache(enable)

Parameters

enable: boolean - if true, enables caching of parsed files. By default, caching is enabled.

Instance Members

getKernel

getKernel()

Looks for #pragma kernel, returns target of that pragma


isCachedAst

isCachedAst()

load

load()

Adds support for caching.