View Javadoc
1   package net.bmahe.genetics4j.gpu.opencl.model;
2   
3   import java.util.Set;
4   
5   import org.immutables.value.Value;
6   import org.jocl.cl_platform_id;
7   
8   @Value.Immutable
9   public interface Platform {
10  
11  	cl_platform_id platformId();
12  
13  	PlatformProfile profile();
14  
15  	String version();
16  
17  	String name();
18  
19  	String vendor();
20  
21  	Set<String> extensions();
22  
23  	int numDevices();
24  	
25  	static ImmutablePlatform.Builder builder() {
26  		return ImmutablePlatform.builder();
27  	}
28  }