Package org.bytedeco.cuda.cudart
Class __half_raw
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.__half_raw
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class __half_raw extends Pointer
Types which allow static initialization of "half" and "half2" until these become an actual builtin. Note this initialization is as a bitfield representation of "half", and not a conversion from short->half. Such a representation will be deprecated in a future version of CUDA. (Note these are visible to non-nvcc compilers, including C-only compilation)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description __half_raw()Default native constructor.__half_raw(long size)Native array allocator.__half_raw(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description __half_rawgetPointer(long i)__half_rawposition(long position)shortx()__half_rawx(short setter)-
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Constructor Detail
-
__half_raw
public __half_raw()
Default native constructor.
-
__half_raw
public __half_raw(long size)
Native array allocator. Access withPointer.position(long).
-
__half_raw
public __half_raw(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public __half_raw position(long position)
-
getPointer
public __half_raw getPointer(long i)
- Overrides:
getPointerin classPointer
-
x
@Cast("unsigned short") public short x()
-
x
public __half_raw x(short setter)
-
-