mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-17 12:24:07 +00:00
Misc CL fixes.
This commit is contained in:
parent
662abf403b
commit
76f2e5bf67
9 changed files with 88 additions and 32 deletions
|
|
@ -54,6 +54,9 @@ public class HelloOpenCL {
|
|||
CL.create();
|
||||
|
||||
final List<CLPlatform> platforms = CLPlatform.getPlatforms();
|
||||
if ( platforms == null )
|
||||
throw new RuntimeException("No OpenCL platforms found.");
|
||||
|
||||
for ( CLPlatform platform : platforms ) {
|
||||
System.out.println("\n-------------------------");
|
||||
System.out.println("NEW PLATFORM: " + platform.getPointer());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue