예제 #1
0
 public static Context Create(Platforms platforms)
 {
     return(Create(platforms, Devices.Create(Device.DefaultDeviceType, platforms)));
 }
예제 #2
0
 private Context(CLContext openclContext, Platforms platforms, Devices devices)
 {
     this.Devices   = devices;
     this.Platforms = platforms;
     this.CLContext = openclContext;
 }