Class RayCastingBenchmark
java.lang.Object
cz.fidentis.analyst.gui.app.tools.opencl.RayCastingBenchmark
Benchmark comparing performance between ray-casting implementations on CPU and GPU.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static long
rayCastUsingCPU
(List<MeshFacet> facets, int iterations, int rayCount) static long
rayCastUsingOpenCL
(List<MeshFacet> facets, int iterations, int rayCount)
-
Constructor Details
-
RayCastingBenchmark
public RayCastingBenchmark()
-
-
Method Details
-
main
- Parameters:
args
-- Throws:
IOException
-
rayCastUsingOpenCL
- Parameters:
facets
-iterations
-rayCount
-- Returns:
-
rayCastUsingCPU
- Parameters:
facets
-iterations
-rayCount
-- Returns:
-