|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcuda.jnpp.JNppUtils
public class JNppUtils
Preliminary utility methods for JNpp
Method Summary | ||
---|---|---|
static void |
NPP_ASSERT(boolean b)
Simple assertion that throws a CudaException if the given argument is false |
|
static
|
sizeof(java.lang.Class<T> t)
Returns the size of the type represented by the given NppType class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void NPP_ASSERT(boolean b)
false
b
- The argument to check
jcuda.CudaException
- if the argument is false
public static <T extends NppType> int sizeof(java.lang.Class<T> t)
NppType
class.
T
- The typet
- The type class
jcuda.CudaException
- If the given type is not known
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |