Benchmark-Method can take lots of Ram when use lots of different dataSizes because the Java-garbage-collector do not collect unnecessary KernelArgs fast enough.
So after every benchmark for every dataSize the to the KernelArg correspondings C-Objects should be destroyed manually.
Benchmark-Method can take lots of Ram when use lots of different dataSizes because the Java-garbage-collector do not collect unnecessary KernelArgs fast enough. So after every benchmark for every dataSize the to the KernelArg correspondings C-Objects should be destroyed manually.