summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLResource.java
blob: 8996b40e209d9561c46810951a8c697588441fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.mbien.opencl;

/**
 * Releasable OpenCL resource.
 * @author Michael Bien
 */
public interface CLResource extends Disposable<CLException> {

    /**
     * Releases the OpenCL resource.
     */
    public void release();

    /**
     * Calls {@link #release()};
     * @see #release()
     */
    @Override public void close();

}