Class RcDistanceGPUBenchmark

java.lang.Object
cz.fidentis.analyst.gui.app.tools.RcDistanceGPUBenchmark

public class RcDistanceGPUBenchmark extends Object
Class for testing the performance of GPU ray-casting vs CPU ray-casting.
  • Constructor Details

    • RcDistanceGPUBenchmark

      public RcDistanceGPUBenchmark()
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      Benchmark for testing acceleration of mesh distance computation on GPU vs CPU.

      To run performance nvidia GPU on multi-GPU linux system, you can set these environmental variables: __NV_PRIME_RENDER_OFFLOAD=1; __GLX_VENDOR_LIBRARY_NAME=nvidia

      Parameters:
      args - paths to the .obj files, which will be used as secondary faces, first will be used as a main (primary)
      Throws:
      IOException - when testing models cannot be loaded