Commit 354479b8 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman 💥

Converted to package com.aparapi.

parent cf7660cc
# Aparapi
[![License](http://img.shields.io/:license-apache-blue.svg?style=flat-square)](http://www.apache.org/licenses/LICENSE-2.0.html)
[![Javadocs](http://www.javadoc.io/badge/com.syncleus.aparapi/aparapi.svg)](http://www.javadoc.io/doc/com.syncleus.aparapi/aparapi)
[![Javadocs](http://www.javadoc.io/badge/com.aparapi/aparapi.svg)](http://www.javadoc.io/doc/com.aparapi/aparapi)
[![Gitter](https://badges.gitter.im/Syncleus/aparapi.svg)](https://gitter.im/Syncleus/aparapi?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
A framework for executing native Java code on the GPU.
......@@ -27,7 +27,7 @@ To include Aparapi in your project of choice include the following Maven depende
```xml
<dependency>
<groupId>com.syncleus.aparapi</groupId>
<groupId>com.aparapi</groupId>
<artifactId>aparapi</artifactId>
<version>1.0.0</version>
</dependency>
......
......@@ -34,7 +34,7 @@
<organization>
<name>Syncleus</name>
<url>http://www.syncleus.com</url>
<url>http://syncleus.com</url>
</organization>
<scm>
......@@ -55,7 +55,7 @@
<email>Jeffrey.Freeman@Syncleus.com</email>
<url>http://JeffreyFreeman.me</url>
<organization>Syncleus</organization>
<organizationUrl>http://www.syncleus.com</organizationUrl>
<organizationUrl>http://syncleus.com</organizationUrl>
<roles>
<role>Chief Technology Officer</role>
<role>Project Owner</role>
......
......@@ -50,11 +50,11 @@ of EAR). For the most current Country Group listings, or for additional informa
under those regulations, please refer to the U.S. Bureau of Industry and Security's website at http://www.bis.doc.gov/.
*/
package com.syncleus.aparapi;
package com.aparapi;
import com.syncleus.aparapi.internal.instruction.*;
import com.syncleus.aparapi.internal.jni.*;
import com.syncleus.aparapi.internal.tool.*;
import com.aparapi.internal.instruction.Instruction;
import com.aparapi.internal.jni.ConfigJNI;
import com.aparapi.internal.tool.InstructionViewer;
import java.util.logging.*;
......@@ -67,7 +67,7 @@ import java.util.logging.*;
* @author gfrost
*
*/
public class Config extends ConfigJNI{
public class Config extends ConfigJNI {
// Logging setup
private static final String logPropName = propPkgName + ".logLevel";
......@@ -78,7 +78,7 @@ public class Config extends ConfigJNI{
* Allows the user to request to use a jvmti agent to
* access JNI code rather than loading explicitly.
*
* Usage -agentpath=/full/path/to/agent.dll -Dcom.syncleus.aparapi.useAgent=true
* Usage -agentpath=/full/path/to/agent.dll -Dcom.aparapi.useAgent=true
*/
public static final boolean useAgent = Boolean.getBoolean(propPkgName + ".useAgent");
......@@ -91,16 +91,16 @@ public class Config extends ConfigJNI{
/**
* Allows the user to request a specific Kernel.EXECUTION_MODE enum value for all Kernels.
*
* Usage -Dcom.syncleus.aparapi.executionMode={SEQ|JTP|CPU|GPU|ACC}
* Usage -Dcom.aparapi.executionMode={SEQ|JTP|CPU|GPU|ACC}
*
* @see com.syncleus.aparapi.Kernel.EXECUTION_MODE
* @see Kernel.EXECUTION_MODE
*/
public static final String executionMode = System.getProperty(propPkgName + ".executionMode");
/**
* Allows the user to request that the execution mode of each kernel invocation be reported to stdout.
*
* Usage -Dcom.syncleus.aparapi.enableExecutionModeReporting={true|false}
* Usage -Dcom.aparapi.enableExecutionModeReporting={true|false}
*
*/
public static final boolean enableExecutionModeReporting = Boolean.getBoolean(propPkgName + ".enableExecutionModeReporting");
......@@ -108,7 +108,7 @@ public class Config extends ConfigJNI{
/**
* Allows the user to request that generated OpenCL code is dumped to standard out.
*
* Usage -Dcom.syncleus.aparapi.enableShowGeneratedOpenCL={true|false}
* Usage -Dcom.aparapi.enableShowGeneratedOpenCL={true|false}
*
*/
public static final boolean enableShowGeneratedOpenCL = Boolean.getBoolean(propPkgName + ".enableShowGeneratedOpenCL");
......@@ -116,7 +116,7 @@ public class Config extends ConfigJNI{
/**
* Upon exiting the JVM, dumps kernel profiling info to standard out.
*
* Usage -Dcom.syncleus.aparapi.dumpProfilesOnExit={true|false}
* Usage -Dcom.aparapi.dumpProfilesOnExit={true|false}
*
*/
public static final boolean dumpProfilesOnExit = Boolean.getBoolean(propPkgName + ".dumpProfilesOnExit");
......@@ -124,7 +124,7 @@ public class Config extends ConfigJNI{
/**
* Dumps profiling info (for a single execution) after every Kernel execution.
*
* Usage -Dcom.syncleus.aparapi.dumpProfileOnExecution={true|false}
* Usage -Dcom.aparapi.dumpProfileOnExecution={true|false}
*
*/
public static final boolean dumpProfileOnExecution = Boolean.getBoolean(propPkgName + ".dumpProfileOnExecution");
......@@ -228,7 +228,7 @@ public class Config extends ConfigJNI{
System.out.println(propPkgName + ".enableExecutionModeReporting{true|false}=" + enableExecutionModeReporting);
System.out.println(propPkgName + ".enableInstructionDecodeViewer{true|false}=" + enableInstructionDecodeViewer);
System.out.println(propPkgName
+ ".instructionListenerClassName{<class name which extends com.syncleus.aparapi.Config.InstructionListener>}="
+ ".instructionListenerClassName{<class name which extends Config.InstructionListener>}="
+ instructionListenerClassName);
}
}
......
......@@ -50,20 +50,25 @@ of EAR). For the most current Country Group listings, or for additional informa
under those regulations, please refer to the U.S. Bureau of Industry and Security's website at http://www.bis.doc.gov/.
*/
package com.syncleus.aparapi;
import com.syncleus.aparapi.annotation.Experimental;
import com.syncleus.aparapi.device.*;
import com.syncleus.aparapi.exception.DeprecatedException;
import com.syncleus.aparapi.internal.kernel.*;
import com.syncleus.aparapi.internal.model.CacheEnabler;
import com.syncleus.aparapi.internal.model.ClassModel.ConstantPool.MethodReferenceEntry;
import com.syncleus.aparapi.internal.model.ClassModel.ConstantPool.NameAndTypeEntry;
import com.syncleus.aparapi.internal.model.ValueCache;
import com.syncleus.aparapi.internal.model.ValueCache.ThrowingValueComputer;
import com.syncleus.aparapi.internal.model.ValueCache.ValueComputer;
import com.syncleus.aparapi.internal.opencl.OpenCLLoader;
import com.syncleus.aparapi.internal.util.*;
package com.aparapi;
import com.aparapi.device.Device;
import com.aparapi.device.JavaDevice;
import com.aparapi.device.OpenCLDevice;
import com.aparapi.exception.DeprecatedException;
import com.aparapi.internal.kernel.KernelArg;
import com.aparapi.internal.kernel.KernelManager;
import com.aparapi.internal.kernel.KernelProfile;
import com.aparapi.internal.kernel.KernelRunner;
import com.aparapi.internal.model.ClassModel;
import com.aparapi.annotation.Experimental;
import com.aparapi.internal.util.Reflection;
import com.aparapi.internal.util.UnsafeWrapper;
import com.aparapi.internal.model.CacheEnabler;
import com.aparapi.internal.model.ValueCache;
import com.aparapi.internal.model.ValueCache.ThrowingValueComputer;
import com.aparapi.internal.model.ValueCache.ValueComputer;
import com.aparapi.internal.opencl.OpenCLLoader;
import java.lang.annotation.Annotation;
import java.lang.annotation.ElementType;
......@@ -323,8 +328,8 @@ public abstract class Kernel implements Cloneable {
}
/**
* @deprecated It is no longer recommended that {@code EXECUTION_MODE}s are used, as a more sophisticated {@link com.syncleus.aparapi.device.Device}
* preference mechanism is in place, see {@link com.syncleus.aparapi.internal.kernel.KernelManager}. Though {@link #setExecutionMode(EXECUTION_MODE)}
* @deprecated It is no longer recommended that {@code EXECUTION_MODE}s are used, as a more sophisticated {@link Device}
* preference mechanism is in place, see {@link KernelManager}. Though {@link #setExecutionMode(EXECUTION_MODE)}
* is still honored, the default EXECUTION_MODE is now {@link EXECUTION_MODE#AUTO}, which indicates that the KernelManager
* will determine execution behaviours.
*
......@@ -358,10 +363,10 @@ public abstract class Kernel implements Cloneable {
* kernel.execute(values.length);
* </pre></blockquote>
* <p>
* Alternatively, the property <code>com.syncleus.aparapi.executionMode</code> can be set to one of <code>JTP,GPU,ACC,CPU,SEQ</code>
* Alternatively, the property <code>com.aparapi.executionMode</code> can be set to one of <code>JTP,GPU,ACC,CPU,SEQ</code>
* when an application is launched.
* <p><blockquote><pre>
* java -classpath ....;aparapi.jar -Dcom.syncleus.aparapi.executionMode=GPU MyApplication
* java -classpath ....;aparapi.jar -Dcom.aparapi.executionMode=GPU MyApplication
* </pre></blockquote><p>
* Generally setting the execution mode is not recommended (it is best to let Aparapi decide automatically) but the option
* provides a way to compare a kernel's performance under multiple execution modes.
......@@ -2264,7 +2269,7 @@ public abstract class Kernel implements Cloneable {
return mapping;
}
public static String getMappedMethodName(MethodReferenceEntry _methodReferenceEntry) {
public static String getMappedMethodName(ClassModel.ConstantPool.MethodReferenceEntry _methodReferenceEntry) {
if (CacheEnabler.areCachesEnabled())
return getProperty(mappedMethodNamesCache, _methodReferenceEntry, null);
String mappedName = null;
......@@ -2304,7 +2309,7 @@ public abstract class Kernel implements Cloneable {
return (mappedName);
}
public static boolean isMappedMethod(MethodReferenceEntry methodReferenceEntry) {
public static boolean isMappedMethod(ClassModel.ConstantPool.MethodReferenceEntry methodReferenceEntry) {
if (CacheEnabler.areCachesEnabled())
return getBoolean(mappedMethodFlags, methodReferenceEntry);
boolean isMapped = false;
......@@ -2320,7 +2325,7 @@ public abstract class Kernel implements Cloneable {
return (isMapped);
}
public static boolean isOpenCLDelegateMethod(MethodReferenceEntry methodReferenceEntry) {
public static boolean isOpenCLDelegateMethod(ClassModel.ConstantPool.MethodReferenceEntry methodReferenceEntry) {
if (CacheEnabler.areCachesEnabled())
return getBoolean(openCLDelegateMethodFlags, methodReferenceEntry);
boolean isMapped = false;
......@@ -2336,7 +2341,7 @@ public abstract class Kernel implements Cloneable {
return (isMapped);
}
public static boolean usesAtomic32(MethodReferenceEntry methodReferenceEntry) {
public static boolean usesAtomic32(ClassModel.ConstantPool.MethodReferenceEntry methodReferenceEntry) {
if (CacheEnabler.areCachesEnabled())
return getProperty(atomic32Cache, methodReferenceEntry, false);
for (final Method kernelMethod : Kernel.class.getDeclaredMethods()) {
......@@ -2351,7 +2356,7 @@ public abstract class Kernel implements Cloneable {
}
// For alpha release atomic64 is not supported
public static boolean usesAtomic64(MethodReferenceEntry methodReferenceEntry) {
public static boolean usesAtomic64(ClassModel.ConstantPool.MethodReferenceEntry methodReferenceEntry) {
// if (CacheEnabler.areCachesEnabled())
// return getProperty(atomic64Cache, methodReferenceEntry, false);
//for (java.lang.reflect.Method kernelMethod : Kernel.class.getDeclaredMethods()) {
......@@ -2894,7 +2899,7 @@ public abstract class Kernel implements Cloneable {
});
private static boolean getBoolean(ValueCache<Class<?>, Map<String, Boolean>, RuntimeException> methodNamesCache,
MethodReferenceEntry methodReferenceEntry) {
ClassModel.ConstantPool.MethodReferenceEntry methodReferenceEntry) {
return getProperty(methodNamesCache, methodReferenceEntry, false);
}
......@@ -2930,7 +2935,7 @@ public abstract class Kernel implements Cloneable {
}
private static <V, T extends Throwable> V getProperty(ValueCache<Class<?>, Map<String, V>, T> cache,
MethodReferenceEntry methodReferenceEntry, V defaultValue) throws T {
ClassModel.ConstantPool.MethodReferenceEntry methodReferenceEntry, V defaultValue) throws T {
Map<String, V> map = cache.computeIfAbsent(methodReferenceEntry.getOwnerClassModel().getClassWeAreModelling());
String key = toSignature(methodReferenceEntry);
if (map.containsKey(key))
......@@ -2938,8 +2943,8 @@ public abstract class Kernel implements Cloneable {
return defaultValue;
}
private static String toSignature(MethodReferenceEntry methodReferenceEntry) {
NameAndTypeEntry nameAndTypeEntry = methodReferenceEntry.getNameAndTypeEntry();
private static String toSignature(ClassModel.ConstantPool.MethodReferenceEntry methodReferenceEntry) {
ClassModel.ConstantPool.NameAndTypeEntry nameAndTypeEntry = methodReferenceEntry.getNameAndTypeEntry();
return nameAndTypeEntry.getNameUTF8Entry().getUTF8() + nameAndTypeEntry.getDescriptorUTF8Entry().getUTF8();
}
......
......@@ -50,7 +50,7 @@ of EAR). For the most current Country Group listings, or for additional informa
under those regulations, please refer to the U.S. Bureau of Industry and Security's website at http://www.bis.doc.gov/.
*/
package com.syncleus.aparapi;
package com.aparapi;
public class ProfileInfo{
......
......@@ -13,10 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.syncleus.aparapi;
package com.aparapi;
import com.syncleus.aparapi.device.*;
import com.syncleus.aparapi.internal.jni.*;
import com.aparapi.device.Device;
import com.aparapi.device.JavaDevice;
import com.aparapi.device.OpenCLDevice;
import com.aparapi.internal.jni.RangeJNI;
import java.util.*;
......@@ -62,7 +64,7 @@ import java.util.*;
* Range.create3D(width, height, depth, groupWidth, groupHeight, groupDepth);
* </pre></blockquote>
*/
public class Range extends RangeJNI{
public class Range extends RangeJNI {
public static final int THREADS_PER_CORE = 16;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.syncleus.aparapi.annotation;
package com.aparapi.annotation;
/**
* Used to tag experimental features (methods/fields)
......
......@@ -16,4 +16,4 @@
/**
*
*/
package com.syncleus.aparapi.opencl;
\ No newline at end of file
package com.aparapi.annotation;
\ No newline at end of file
......@@ -13,10 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.syncleus.aparapi.device;
package com.aparapi.device;
import com.syncleus.aparapi.*;
import com.syncleus.aparapi.internal.kernel.*;
import com.aparapi.Range;
import com.aparapi.internal.kernel.KernelManager;
import com.aparapi.*;
public abstract class Device{
......@@ -38,7 +39,7 @@ public abstract class Device{
};
/** @deprecated use {@link KernelManager#bestDevice()}
* @see com.syncleus.aparapi.device
* @see com.aparapi.device
*/
@Deprecated
public static Device best() {
......@@ -46,7 +47,7 @@ public abstract class Device{
}
/**
* @see com.syncleus.aparapi.device
* @see com.aparapi.device
*/
@SuppressWarnings("deprecation")
@Deprecated
......@@ -55,7 +56,7 @@ public abstract class Device{
}
/**
* @see com.syncleus.aparapi.device
* @see com.aparapi.device
*/
@Deprecated
public static Device first(final Device.TYPE _type) {
......@@ -63,7 +64,7 @@ public abstract class Device{
}
/**
* @see com.syncleus.aparapi.device
* @see com.aparapi.device
*/
@SuppressWarnings("deprecation")
@Deprecated
......@@ -72,7 +73,7 @@ public abstract class Device{
}
/**
* @see com.syncleus.aparapi.device
* @see com.aparapi.device
*/
@SuppressWarnings("deprecation")
@Deprecated
......@@ -81,7 +82,7 @@ public abstract class Device{
}
/**
* @see com.syncleus.aparapi.device
* @see com.aparapi.device
*/
@Deprecated
public static Device bestACC() {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.syncleus.aparapi.device;
package com.aparapi.device;
public class JavaDevice extends Device {
......
......@@ -13,13 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.syncleus.aparapi.device;
package com.aparapi.device;
import com.syncleus.aparapi.*;
import com.syncleus.aparapi.internal.opencl.*;
import com.syncleus.aparapi.opencl.*;
import com.syncleus.aparapi.opencl.OpenCL.*;
import com.syncleus.aparapi.opencl.OpenCL.Kernel;
import com.aparapi.Range;
import com.aparapi.internal.opencl.OpenCLArgDescriptor;
import com.aparapi.internal.opencl.OpenCLKernel;
import com.aparapi.internal.opencl.OpenCLPlatform;
import com.aparapi.internal.opencl.OpenCLProgram;
import com.aparapi.opencl.OpenCL;
import com.aparapi.*;
import java.io.*;
import java.lang.annotation.*;
......@@ -212,23 +214,23 @@ public class OpenCLDevice extends Device{
long bits = 0L;
String name = null;
for (final Annotation pa : parameterAnnotations[arg]) {
if (pa instanceof GlobalReadOnly) {
name = ((GlobalReadOnly) pa).value();
if (pa instanceof OpenCL.GlobalReadOnly) {
name = ((OpenCL.GlobalReadOnly) pa).value();
bits |= OpenCLArgDescriptor.ARG_GLOBAL_BIT | OpenCLArgDescriptor.ARG_READONLY_BIT;
} else if (pa instanceof GlobalWriteOnly) {
name = ((GlobalWriteOnly) pa).value();
} else if (pa instanceof OpenCL.GlobalWriteOnly) {
name = ((OpenCL.GlobalWriteOnly) pa).value();
bits |= OpenCLArgDescriptor.ARG_GLOBAL_BIT | OpenCLArgDescriptor.ARG_WRITEONLY_BIT;
} else if (pa instanceof GlobalReadWrite) {
name = ((GlobalReadWrite) pa).value();
} else if (pa instanceof OpenCL.GlobalReadWrite) {
name = ((OpenCL.GlobalReadWrite) pa).value();
bits |= OpenCLArgDescriptor.ARG_GLOBAL_BIT | OpenCLArgDescriptor.ARG_READWRITE_BIT;
} else if (pa instanceof Local) {
name = ((Local) pa).value();
} else if (pa instanceof OpenCL.Local) {
name = ((OpenCL.Local) pa).value();
bits |= OpenCLArgDescriptor.ARG_LOCAL_BIT;
} else if (pa instanceof Constant) {
name = ((Constant) pa).value();
} else if (pa instanceof OpenCL.Constant) {
name = ((OpenCL.Constant) pa).value();
bits |= OpenCLArgDescriptor.ARG_CONST_BIT | OpenCLArgDescriptor.ARG_READONLY_BIT;
} else if (pa instanceof Arg) {
name = ((Arg) pa).value();
} else if (pa instanceof OpenCL.Arg) {
name = ((OpenCL.Arg) pa).value();
bits |= OpenCLArgDescriptor.ARG_ISARG_BIT;
}
......@@ -328,12 +330,12 @@ public class OpenCLDevice extends Device{
final StringBuilder sourceBuilder = new StringBuilder();
boolean interfaceIsAnnotated = false;
for (final Annotation a : _interface.getAnnotations()) {
if (a instanceof Source) {
final Source source = (Source) a;
if (a instanceof OpenCL.Source) {
final OpenCL.Source source = (OpenCL.Source) a;
sourceBuilder.append(source.value()).append("\n");
interfaceIsAnnotated = true;
} else if (a instanceof Resource) {
final Resource sourceResource = (Resource) a;
} else if (a instanceof OpenCL.Resource) {
final OpenCL.Resource sourceResource = (OpenCL.Resource) a;
final InputStream stream = _interface.getClassLoader().getResourceAsStream(sourceResource.value());
sourceBuilder.append(streamToString(stream));
interfaceIsAnnotated = true;
......@@ -355,7 +357,7 @@ public class OpenCLDevice extends Device{
for (final Annotation a : m.getAnnotations()) {
// System.out.println(" annotation "+a);
// System.out.println(" annotation type " + a.annotationType());
if (a instanceof Kernel) {
if (a instanceof OpenCL.Kernel) {
sourceBuilder.append("__kernel void " + m.getName() + "(");
final List<OpenCLArgDescriptor> args = getArgs(m);
......@@ -370,7 +372,7 @@ public class OpenCLDevice extends Device{
}
sourceBuilder.append(")");
final Kernel kernel = (Kernel) a;
final OpenCL.Kernel kernel = (OpenCL.Kernel) a;
sourceBuilder.append(kernel.value());
kernelNameToArgsMap.put(m.getName(), args);
......
......@@ -16,19 +16,22 @@
/**
* Contains classes representing OpenCL-capable devices, and "virtual" (java) devices which execute kernels using java.
*
* <p>Various methods of {@link com.syncleus.aparapi.device.Device} which selected devices of a particular type have been deprecated,
* as now the preferred mechanism for device selection is to rely on the {@link com.syncleus.aparapi.internal.kernel.KernelManager} to
* <p>Various methods of {@link com.aparapi.device.Device} which selected devices of a particular type have been deprecated,
* as now the preferred mechanism for device selection is to rely on the {@link com.aparapi.internal.kernel.KernelManager} to
* select an appropriate device. Where a particular device is required to be used for a certain kernel, for such purposes as
* debugging or unit testing, this can be achieved by using
* {@link com.syncleus.aparapi.internal.kernel.KernelManager#setKernelManager(com.syncleus.aparapi.internal.kernel.KernelManager)} prior to
* invoking any Kernel executions, by overriding {@link com.syncleus.aparapi.Kernel#isAllowDevice(com.syncleus.aparapi.device.Device)}
* {@link com.aparapi.internal.kernel.KernelManager#setKernelManager(KernelManager)} prior to
* invoking any Kernel executions, by overriding {@link com.aparapi.Kernel#isAllowDevice(Device)}
* to veto/approve devices from the available devices for a given Kernel class, or (not recommended) by using
* {@link com.syncleus.aparapi.internal.kernel.KernelManager#setPreferredDevices(com.syncleus.aparapi.Kernel, java.util.LinkedHashSet)} to specify
* {@link com.aparapi.internal.kernel.KernelManager#setPreferredDevices(Kernel, java.util.LinkedHashSet)} to specify
* a particular device list for a given Kernel class.
*
* <p>In order to determine the Device which will be used to execute a particular Kernel, use {@link com.syncleus.aparapi.Kernel#getTargetDevice()}.
* <p>In order to determine the Device which will be used to execute a particular Kernel, use {@link com.aparapi.Kernel#getTargetDevice()}.
* This can also be used immediately after execution to see on which device the kernel actually got executed (in case the execution failed
* and fell back to another device).
*
*/
package com.syncleus.aparapi.device;
\ No newline at end of file
package com.aparapi.device;
import com.aparapi.Kernel;
import com.aparapi.internal.kernel.KernelManager;
\ No newline at end of file
......@@ -50,9 +50,9 @@ of EAR). For the most current Country Group listings, or for additional informa
under those regulations, please refer to the U.S. Bureau of Industry and Security's website at http://www.bis.doc.gov/.
*/
package com.syncleus.aparapi.exception;
package com.aparapi.exception;
import com.syncleus.aparapi.internal.exception.AparapiException;
import com.aparapi.internal.exception.AparapiException;
@SuppressWarnings("serial") public class DeprecatedException extends AparapiException{
......
......@@ -16,4 +16,4 @@
/**
*
*/
package com.syncleus.aparapi.exception;
\ No newline at end of file
package com.aparapi.exception;
\ No newline at end of file
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.syncleus.aparapi.internal.annotation;
package com.aparapi.internal.annotation;
/**
* Use this annotation to tag stuff that needs Java Doc added
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.syncleus.aparapi.internal.annotation;
package com.aparapi.internal.annotation;
/**
* Use this annotation to tag fields that we think need to be removed (method/field/var)
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.syncleus.aparapi.internal.annotation;
package com.aparapi.internal.annotation;
/**
* Used to tag unused features (methods/fields)
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.syncleus.aparapi.internal.annotation;
package com.aparapi.internal.annotation;
/**
* Be careful changing the name/type of this field as it is referenced from JNI code.
......
......@@ -50,7 +50,7 @@ of EAR). For the most current Country Group listings, or for additional informa
under those regulations, please refer to the U.S. Bureau of Industry and Security's website at http://www.bis.doc.gov/.
*/
package com.syncleus.aparapi.internal.exception;
package com.aparapi.internal.exception;
/**
* We use <code>AparapiException</code> class and subclasses to wrap other
......@@ -59,8 +59,8 @@ package com.syncleus.aparapi.internal.exception;
* The class parser for example will throw a specific <code>ClassParseException</code> if any Aparapi unfriendly
* constructs are found. This allows us to <strong>fail fast</strong> during classfile parsing.
*
* @see com.syncleus.aparapi.internal.exception.ClassParseException
* @see com.syncleus.aparapi.internal.exception.CodeGenException
* @see ClassParseException
* @see CodeGenException
*
* @author gfrost
*
......
......@@ -50,15 +50,15 @@ of EAR). For the most current Country Group listings, or for additional informa
under those regulations, please refer to the U.S. Bureau of Industry and Security's website at http://www.bis.doc.gov/.
*/
package com.syncleus.aparapi.internal.exception;
package com.aparapi.internal.exception;
import com.syncleus.aparapi.internal.instruction.Instruction;
import com.aparapi.internal.instruction.Instruction;
/**
* We throw <code>ClassParseException</code>s (derived from <code>AparapiException</code>) if we encounter any Aparapi unfriendly
* constructs. This allows us to <strong>fail fast</strong>.
*
* @see com.syncleus.aparapi.internal.exception.AparapiException
* @see AparapiException