@Namespace(value="cv::cuda") @Properties(inherit=opencv_core.class) public class TargetArchs extends Pointer
According to the CUDA C Programming Guide Version 3.2: "PTX code produced for some specific compute capability can always be compiled to binary code of greater or equal compute capability".
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TargetArchs()
Default native constructor.
|
TargetArchs(long size)
Native array allocator.
|
TargetArchs(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
builtWith(int feature_set)
\brief The following method checks whether the module was built with the support of the given feature:
|
static boolean |
has(int major,
int minor)
\brief There is a set of methods to check whether the module contains intermediate (PTX) or binary CUDA
code for the given architecture(s):
|
static boolean |
hasBin(int major,
int minor) |
static boolean |
hasEqualOrGreater(int major,
int minor) |
static boolean |
hasEqualOrGreaterBin(int major,
int minor) |
static boolean |
hasEqualOrGreaterPtx(int major,
int minor) |
static boolean |
hasEqualOrLessPtx(int major,
int minor) |
static boolean |
hasPtx(int major,
int minor) |
TargetArchs |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public TargetArchs()
public TargetArchs(long size)
Pointer.position(long)
.public TargetArchs(Pointer p)
Pointer.Pointer(Pointer)
.public TargetArchs position(long position)
@Cast(value="bool") public static boolean builtWith(@Cast(value="cv::cuda::FeatureSet") int feature_set)
feature_set
- Features to be checked. See :ocvcuda::FeatureSet.@Cast(value="bool") public static boolean has(int major, int minor)
major
- Major compute capability version.minor
- Minor compute capability version.@Cast(value="bool") public static boolean hasEqualOrGreaterPtx(int major, int minor)
Copyright © 2020. All rights reserved.