Added support for progress tracking of and cancellation of multi-pass kernels.
Added utility MultiPassKernelSwingWorker.java for simplified use of above from Swing. Added related sample code.
Showing
- com.amd.aparapi.jni/src/cpp/runKernel/Aparapi.cpp 30 additions, 1 deletioncom.amd.aparapi.jni/src/cpp/runKernel/Aparapi.cpp
- com.amd.aparapi.jni/src/cpp/runKernel/JNIContext.h 3 additions, 0 deletionscom.amd.aparapi.jni/src/cpp/runKernel/JNIContext.h
- com.amd.aparapi/src/java/com/amd/aparapi/Kernel.java 56 additions, 12 deletionscom.amd.aparapi/src/java/com/amd/aparapi/Kernel.java
- com.amd.aparapi/src/java/com/amd/aparapi/internal/jni/KernelRunnerJNI.java 2 additions, 1 deletion...rc/java/com/amd/aparapi/internal/jni/KernelRunnerJNI.java
- com.amd.aparapi/src/java/com/amd/aparapi/internal/kernel/KernelRunner.java 604 additions, 500 deletions...rc/java/com/amd/aparapi/internal/kernel/KernelRunner.java
- com.amd.aparapi/src/java/com/amd/aparapi/util/swing/MultiPassKernelSwingWorker.java 84 additions, 0 deletions...om/amd/aparapi/util/swing/MultiPassKernelSwingWorker.java
- samples/median/src/com/amd/aparapi/sample/median/MedianDemo.java 5 additions, 3 deletions.../median/src/com/amd/aparapi/sample/median/MedianDemo.java
- samples/progress/src/com/amd/aparapi/sample/progress/LongRunningKernel.java 31 additions, 0 deletions...rc/com/amd/aparapi/sample/progress/LongRunningKernel.java
- samples/progress/src/com/amd/aparapi/sample/progress/MultiPassKernelSwingWorkerDemo.java 132 additions, 0 deletions...arapi/sample/progress/MultiPassKernelSwingWorkerDemo.java
- samples/progress/src/com/amd/aparapi/sample/progress/ProgressAndCancelDemo.java 168 additions, 0 deletions...om/amd/aparapi/sample/progress/ProgressAndCancelDemo.java
Loading
Please register or sign in to comment