Index

B C E F I P R S W 
All Classes and Interfaces|All Packages

B

Benchmark - Class in es.ull.pcg.hpc.fancyjcl
Small utility to perform benchmarks.
Benchmark() - Constructor for class es.ull.pcg.hpc.fancyjcl.Benchmark
 
Benchmark.Process - Interface in es.ull.pcg.hpc.fancyjcl
Interface that can be used to pass a lambda to the benchmark.

C

cl_kernel_ptr - Variable in class es.ull.pcg.hpc.fancyjcl.Stage
This attribute will be set from JNI when kernel is created in `prepare`.
clear() - Static method in class es.ull.pcg.hpc.fancyjcl.FancyJCLManager
Clears all the stages and all its parameters.

E

es.ull.pcg.hpc.fancyjcl - package es.ull.pcg.hpc.fancyjcl
 

F

FancyJCLManager - Class in es.ull.pcg.hpc.fancyjcl
Manages initialization and releasing of FancyJCL and controls the set of stages and its parameters.
FancyJCLManager() - Constructor for class es.ull.pcg.hpc.fancyjcl.FancyJCLManager
 

I

initialize(String) - Static method in class es.ull.pcg.hpc.fancyjcl.FancyJCLManager
Creates a context for FancyJCL.

P

perform(Benchmark.Process, Benchmark.Process, int) - Static method in class es.ull.pcg.hpc.fancyjcl.Benchmark
Performs a benchmark of an asynchronous portion of code and a synchronization code.
printSummary() - Method in class es.ull.pcg.hpc.fancyjcl.Stage
Print a summary showing information about the parameters (inputs and outputs), generated OpenCL kernel and RunConfiguration of the Stage.

R

release() - Static method in class es.ull.pcg.hpc.fancyjcl.FancyJCLManager
Clears all the stages and all its parameters and then releases the FancyJCL context.
run() - Method in interface es.ull.pcg.hpc.fancyjcl.Benchmark.Process
 
run() - Method in class es.ull.pcg.hpc.fancyjcl.Stage
Enqueues the Stage to be run using the set RunConfiguration.
RunConfiguration - Class in es.ull.pcg.hpc.fancyjcl
Defines how a Stage is executed.
RunConfiguration(long[], long[]) - Constructor for class es.ull.pcg.hpc.fancyjcl.RunConfiguration
Instantiates a new Run configuration.
runSync() - Method in class es.ull.pcg.hpc.fancyjcl.Stage
Synchronizes the inputs to GPU, enqueues this Stage to be run, waits until the execution ends and synchronizes the outputs to CPU.

S

setInputs(Map<String, Object>) - Method in class es.ull.pcg.hpc.fancyjcl.Stage
Sets inputs for the Stage.
setKernelSource(String) - Method in class es.ull.pcg.hpc.fancyjcl.Stage
Sets kernel source.
setOutputs(Map<String, Object>) - Method in class es.ull.pcg.hpc.fancyjcl.Stage
Sets outputs for the Stage.
setRunConfiguration(RunConfiguration) - Method in class es.ull.pcg.hpc.fancyjcl.Stage
Sets run configuration.
Stage - Class in es.ull.pcg.hpc.fancyjcl
Class representing an algorithm that has a set of parameters (inputs and outputs) and a run configuration for its accelerated execution in GPU via OpenCL.
Stage() - Constructor for class es.ull.pcg.hpc.fancyjcl.Stage
Instantiates a new Stage, setting the stageName, and registering the stage in the Manager.
syncInputsToGPU() - Method in class es.ull.pcg.hpc.fancyjcl.Stage
Synchronize inputs to GPU.
syncOutputsToCPU() - Method in class es.ull.pcg.hpc.fancyjcl.Stage
Synchronize outputs to cpu.

W

waitUntilExecutionEnds() - Method in class es.ull.pcg.hpc.fancyjcl.Stage
Wait until execution ends.
B C E F I P R S W 
All Classes and Interfaces|All Packages