aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/spi/CLAccessorFactory.java
blob: 4bafe933469b445798b84c487b155892af3312e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Created on Wednesday, May 25 2011 00:53
 */
package com.jogamp.opencl.spi;

import com.jogamp.opencl.llb.CL;
import com.jogamp.opencl.llb.CLDeviceBinding;

/**
 * Implementations of this interface are factories responsible for creating CLAccessors.
 * @author Michael Bien
 */
public interface CLAccessorFactory {

    CLInfoAccessor createDeviceInfoAccessor(CLDeviceBinding cl, long id);

    CLPlatformInfoAccessor createPlatformInfoAccessor(CL cl, long id);

}