Skip to content

Commit

Permalink
Reverted back 1.8 to 1.7 source and target versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
archenroot committed Dec 29, 2023
1 parent b971bc0 commit 305b6ec
Show file tree
Hide file tree
Showing 15 changed files with 179 additions and 146 deletions.
6 changes: 3 additions & 3 deletions cuda/src/gen/java/org/bytedeco/cuda/global/cublas.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ public class cublas extends org.bytedeco.cuda.presets.cublas {

public static final int CUBLAS_VER_MAJOR = 12;
public static final int CUBLAS_VER_MINOR = 3;
public static final int CUBLAS_VER_PATCH = 2;
public static final int CUBLAS_VER_BUILD = 9;
public static final int CUBLAS_VER_PATCH = 4;
public static final int CUBLAS_VER_BUILD = 1;
public static final int CUBLAS_VERSION = (CUBLAS_VER_MAJOR * 10000 + CUBLAS_VER_MINOR * 100 + CUBLAS_VER_PATCH);

/* CUBLAS status type returns */
Expand Down Expand Up @@ -14009,7 +14009,7 @@ public static native void cublasZtrmm(@Cast("char") byte side,
// #include "driver_types.h"
// #include "cuComplex.h" /* import complex data type */

// #include "cublas_api.h"
// #include "cublas_v2.h"

// #if defined(__cplusplus)
// Targeting ../cublas/cublasXtContext.java
Expand Down
23 changes: 9 additions & 14 deletions cuda/src/gen/java/org/bytedeco/cuda/global/cudart.java
Original file line number Diff line number Diff line change
Expand Up @@ -1496,8 +1496,9 @@ public class cudart extends org.bytedeco.cuda.presets.cudart {
/**
* This option hints to the JIT compiler the minimum number of CTAs from the
* kernel’s grid to be mapped to a SM. Optimizations based on this option
* need either ::CU_JIT_MAX_REGISTERS or ::CU_JIT_THREADS_PER_BLOCK to be
* specified as well.
* need the maximum number of threads per block to be specified as well. This
* option is ignored when used together with ::CU_JIT_MAX_REGISTERS or
* ::CU_JIT_THREADS_PER_BLOCK.
* Option type: unsigned int\n
* Applies to: compiler only
*/
Expand Down Expand Up @@ -1995,7 +1996,7 @@ interop event. The event must disable timing (i.e.
B has a launch completion dependency on a kernel A, B may wait
until A is complete. Alternatively, blocks of B may begin before
all blocks of A have begun, for example if B can claim execution
resources unavaiable to A (e.g. they run on different GPUs) or
resources unavailable to A (e.g. they run on different GPUs) or
if B is a higher priority than A.
Exercise caution if such an ordering inversion could lead
to deadlock.
Expand Down Expand Up @@ -25512,11 +25513,8 @@ inside of a graph. The graph(s) contained within the body of the conditional nod
Only one instantiation of the graph may exist at any point in time.
The graph cannot be cloned.

To set the control value:

In a kernel or kernels at appropriate locations in the graph, insert a call to
{@code void cudaGraphSetConditional(cudaGraphConditionalHandle handle, unsigned int value)}.
Supply a default value when creating the handle. */
To set the control value, supply a default value when creating the handle and/or
call ::cudaGraphSetConditional from device code.*/
cudaGraphNodeTypeConditional = 0x0d,
cudaGraphNodeTypeCount = 0x0d + 1;
// Targeting ../cudart/cudaChildGraphNodeParams.java
Expand Down Expand Up @@ -25790,12 +25788,9 @@ interop event. The event must disable timing (i.e.
have begun execution. Currently this is a best effort. If a kernel
B has a launch completion dependency on a kernel A, B may wait
until A is complete. Alternatively, blocks of B may begin before
all blocks of A have begun, for example:
<ul>
<li>If B can claim execution resources unavaiable to A, for
example if they run on different GPUs.
<li>If B is a higher priority than A.
</ul>
all blocks of A have begun, for example if B can claim execution
resources unavailable to A (e.g. they run on different GPUs) or
if B is a higher priority than A.
Exercise caution if such an ordering inversion could lead
to deadlock.
<br>
Expand Down
17 changes: 9 additions & 8 deletions cuda/src/gen/java/org/bytedeco/cuda/global/cudnn.java
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public class cudnn extends org.bytedeco.cuda.presets.cudnn {

public static final int CUDNN_MAJOR = 8;
public static final int CUDNN_MINOR = 9;
public static final int CUDNN_PATCHLEVEL = 5;
public static final int CUDNN_PATCHLEVEL = 7;

public static final int CUDNN_VERSION = (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL);

Expand Down Expand Up @@ -276,7 +276,7 @@ public class cudnn extends org.bytedeco.cuda.presets.cudnn {
/* These version numbers are autogenerated, do not edit manually. */
public static final int CUDNN_OPS_INFER_MAJOR = 8;
public static final int CUDNN_OPS_INFER_MINOR = 9;
public static final int CUDNN_OPS_INFER_PATCH = 5;
public static final int CUDNN_OPS_INFER_PATCH = 7;

// #if (CUDNN_OPS_INFER_MAJOR != CUDNN_MAJOR) || (CUDNN_OPS_INFER_MINOR != CUDNN_MINOR) ||
// (CUDNN_OPS_INFER_PATCH != CUDNN_PATCHLEVEL)
Expand Down Expand Up @@ -1620,7 +1620,7 @@ public class cudnn extends org.bytedeco.cuda.presets.cudnn {
/* These version numbers are autogenerated, do not edit manually. */
public static final int CUDNN_OPS_TRAIN_MAJOR = 8;
public static final int CUDNN_OPS_TRAIN_MINOR = 9;
public static final int CUDNN_OPS_TRAIN_PATCH = 5;
public static final int CUDNN_OPS_TRAIN_PATCH = 7;

// #if (CUDNN_OPS_TRAIN_MAJOR != CUDNN_MAJOR) || (CUDNN_OPS_TRAIN_MINOR != CUDNN_MINOR) ||
// (CUDNN_OPS_TRAIN_PATCH != CUDNN_PATCHLEVEL)
Expand Down Expand Up @@ -2051,7 +2051,7 @@ public class cudnn extends org.bytedeco.cuda.presets.cudnn {
/* These version numbers are autogenerated, do not edit manually. */
public static final int CUDNN_ADV_INFER_MAJOR = 8;
public static final int CUDNN_ADV_INFER_MINOR = 9;
public static final int CUDNN_ADV_INFER_PATCH = 5;
public static final int CUDNN_ADV_INFER_PATCH = 7;

// #if (CUDNN_ADV_INFER_MAJOR != CUDNN_MAJOR) || (CUDNN_ADV_INFER_MINOR != CUDNN_MINOR) ||
// (CUDNN_ADV_INFER_PATCH != CUDNN_PATCHLEVEL)
Expand Down Expand Up @@ -3120,7 +3120,7 @@ public class cudnn extends org.bytedeco.cuda.presets.cudnn {
/* These version numbers are autogenerated, do not edit manually. */
public static final int CUDNN_ADV_TRAIN_MAJOR = 8;
public static final int CUDNN_ADV_TRAIN_MINOR = 9;
public static final int CUDNN_ADV_TRAIN_PATCH = 5;
public static final int CUDNN_ADV_TRAIN_PATCH = 7;

// #if (CUDNN_ADV_TRAIN_MAJOR != CUDNN_MAJOR) || (CUDNN_ADV_TRAIN_MINOR != CUDNN_MINOR) ||
// (CUDNN_ADV_TRAIN_PATCH != CUDNN_PATCHLEVEL)
Expand Down Expand Up @@ -4284,7 +4284,7 @@ public class cudnn extends org.bytedeco.cuda.presets.cudnn {
/* These version numbers are autogenerated, do not edit manually. */
public static final int CUDNN_CNN_INFER_MAJOR = 8;
public static final int CUDNN_CNN_INFER_MINOR = 9;
public static final int CUDNN_CNN_INFER_PATCH = 5;
public static final int CUDNN_CNN_INFER_PATCH = 7;

// #if (CUDNN_CNN_INFER_MAJOR != CUDNN_MAJOR) || (CUDNN_CNN_INFER_MINOR != CUDNN_MINOR) ||
// (CUDNN_CNN_INFER_PATCH != CUDNN_PATCHLEVEL)
Expand Down Expand Up @@ -5007,7 +5007,7 @@ public class cudnn extends org.bytedeco.cuda.presets.cudnn {
/* These version numbers are autogenerated, do not edit manually. */
public static final int CUDNN_CNN_TRAIN_MAJOR = 8;
public static final int CUDNN_CNN_TRAIN_MINOR = 9;
public static final int CUDNN_CNN_TRAIN_PATCH = 5;
public static final int CUDNN_CNN_TRAIN_PATCH = 7;

// #if (CUDNN_CNN_TRAIN_MAJOR != CUDNN_MAJOR) || (CUDNN_CNN_TRAIN_MINOR != CUDNN_MINOR) ||
// (CUDNN_CNN_TRAIN_PATCH != CUDNN_PATCHLEVEL)
Expand Down Expand Up @@ -5769,7 +5769,8 @@ public class cudnn extends org.bytedeco.cuda.presets.cudnn {
CUDNN_LAYER_NORM = 0,
CUDNN_INSTANCE_NORM = 1,
CUDNN_BATCH_NORM = 2,
CUDNN_GROUP_NORM = 3;
CUDNN_GROUP_NORM = 3,
CUDNN_RMS_NORM = 4;

/** enum cudnnBackendNormFwdPhase_t */
public static final int
Expand Down
6 changes: 3 additions & 3 deletions cuda/src/gen/java/org/bytedeco/cuda/global/cufft.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ public class cufft extends org.bytedeco.cuda.presets.cufft {

public static final int CUFFT_VER_MAJOR = 11;
public static final int CUFFT_VER_MINOR = 0;
public static final int CUFFT_VER_PATCH = 11;
public static final int CUFFT_VER_BUILD = 19;
public static final int CUFFT_VER_PATCH = 12;
public static final int CUFFT_VER_BUILD = 1;

public static final int CUFFT_VERSION = 11011;
public static final int CUFFT_VERSION = 11012;

// CUFFT API function return values
/** enum cufftResult */
Expand Down
2 changes: 1 addition & 1 deletion cuda/src/gen/java/org/bytedeco/cuda/global/curand.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public class curand extends org.bytedeco.cuda.presets.curand {
public static final int CURAND_VER_MAJOR = 10;
public static final int CURAND_VER_MINOR = 3;
public static final int CURAND_VER_PATCH = 4;
public static final int CURAND_VER_BUILD = 52;
public static final int CURAND_VER_BUILD = 101;
public static final int CURAND_VERSION = (CURAND_VER_MAJOR * 1000 +
CURAND_VER_MINOR * 100 +
CURAND_VER_PATCH);
Expand Down
Loading

0 comments on commit 305b6ec

Please sign in to comment.