Skip to content

Commit

Permalink
JavaCL: release subdevices
Browse files Browse the repository at this point in the history
  • Loading branch information
ochafik committed Dec 25, 2012
1 parent 64afc90 commit 941863e
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -49,9 +49,10 @@ public synchronized CLPlatform getPlatform() {
return platform;
}
@Override
protected void clear() {
}
@Override
protected void clear() {
error(CL.clReleaseDevice(getEntity()));
}
public String createSignature() {
return getName() + "|" + getVendor() + "|" + getDriverVersion() + "|" + getProfile();
Expand Down

0 comments on commit 941863e

Please sign in to comment.