diff --git a/CHANGELOG.md b/CHANGELOG.md index caae38c8183..be51497ea5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ * Build FFmpeg with zimg to enable zscale filter ([pull #1481](https://github.com/bytedeco/javacpp-presets/pull/1481)) * Enable PulseAudio support for FFmpeg on Linux ([pull #1472](https://github.com/bytedeco/javacpp-presets/pull/1472)) * Virtualize `btCollisionWorld`, `btOverlapFilterCallback`, `btOverlapCallback` from Bullet Physics SDK ([pull #1475](https://github.com/bytedeco/javacpp-presets/pull/1475)) - * Upgrade presets for OpenCV 4.10.0, FFmpeg 7.0, Spinnaker 4.0.0.116 ([pull #1524](https://github.com/bytedeco/javacpp-presets/pull/1524)), DNNL 3.4.1, OpenBLAS 0.3.27, CMINPACK 1.3.9, GSL 2.8, CPython 3.12.4, NumPy 2.0.0, SciPy 1.14.0, LLVM 18.1.4, LibRaw 0.21.2 ([pull #1520](https://github.com/bytedeco/javacpp-presets/pull/1520)), Tesseract 5.4.1, libffi 3.4.6, PyTorch 2.3.0 ([pull #1466](https://github.com/bytedeco/javacpp-presets/pull/1466)), SentencePiece 0.2.0, TensorFlow Lite 2.16.1, TensorRT 10.0.1.6, Triton Inference Server 2.44.0, ONNX 1.16.1, ONNX Runtime 1.18.0, TVM 0.16.0, and their dependencies + * Upgrade presets for OpenCV 4.10.0, FFmpeg 7.0, Spinnaker 4.0.0.116 ([pull #1524](https://github.com/bytedeco/javacpp-presets/pull/1524)), DNNL 3.5.3, OpenBLAS 0.3.28, CMINPACK 1.3.9, GSL 2.8, CPython 3.12.5, NumPy 2.0.1, SciPy 1.14.0, LLVM 18.1.8, LibRaw 0.21.2 ([pull #1520](https://github.com/bytedeco/javacpp-presets/pull/1520)), Tesseract 5.4.1, libffi 3.4.6, OpenCL 3.0.16, PyTorch 2.3.0 ([pull #1466](https://github.com/bytedeco/javacpp-presets/pull/1466)), SentencePiece 0.2.0, TensorFlow Lite 2.16.1, TensorRT 10.0.1.6, Triton Inference Server 2.44.0, ONNX 1.16.2, ONNX Runtime 1.18.1, TVM 0.17.0, and their dependencies ### January 29, 2024 version 1.5.10 * Introduce `macosx-arm64` builds for PyTorch ([pull #1463](https://github.com/bytedeco/javacpp-presets/pull/1463)) diff --git a/README.md b/README.md index af6279be583..ee87b6b1f60 100644 --- a/README.md +++ b/README.md @@ -198,8 +198,8 @@ Each child module in turn relies by default on the included [`cppbuild.sh` scrip * LZ4 1.9.x https://github.com/lz4/lz4 * MKL 2024.x https://software.intel.com/mkl * MKL-DNN 0.21.x https://github.com/oneapi-src/oneDNN - * DNNL 3.4.x https://github.com/oneapi-src/oneDNN - * OpenBLAS 0.3.27 http://www.openblas.net/ + * DNNL 3.5.x https://github.com/oneapi-src/oneDNN + * OpenBLAS 0.3.28 http://www.openblas.net/ * ARPACK-NG 3.9.x https://github.com/opencollab/arpack-ng * CMINPACK 1.3.9 https://github.com/devernay/cminpack * FFTW 3.3.10 http://www.fftw.org/download.html @@ -234,7 +234,7 @@ Each child module in turn relies by default on the included [`cppbuild.sh` scrip * ONNX 1.16.x https://github.com/onnx/onnx * nGraph 0.26.0 https://github.com/NervanaSystems/ngraph * ONNX Runtime 1.18.x https://github.com/microsoft/onnxruntime - * TVM 0.16.x https://github.com/apache/tvm + * TVM 0.17.x https://github.com/apache/tvm * Bullet Physics SDK 3.25 https://pybullet.org * LiquidFun http://google.github.io/liquidfun/ * Qt 5.15.x https://download.qt.io/archive/qt/ diff --git a/arpack-ng/platform/pom.xml b/arpack-ng/platform/pom.xml index 0952f291c9e..e261e0e67a9 100644 --- a/arpack-ng/platform/pom.xml +++ b/arpack-ng/platform/pom.xml @@ -24,7 +24,7 @@ org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} ${project.groupId} diff --git a/arpack-ng/pom.xml b/arpack-ng/pom.xml index 3ceab6e5664..c0f285b1294 100644 --- a/arpack-ng/pom.xml +++ b/arpack-ng/pom.xml @@ -22,7 +22,7 @@ org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco @@ -45,12 +45,12 @@ org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} ${javacpp.platform} diff --git a/cminpack/platform/pom.xml b/cminpack/platform/pom.xml index 79067d04e93..c6caf0b6253 100644 --- a/cminpack/platform/pom.xml +++ b/cminpack/platform/pom.xml @@ -23,7 +23,7 @@ org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} ${project.groupId} diff --git a/cminpack/pom.xml b/cminpack/pom.xml index a00f4e7e2e3..0a0690a908a 100644 --- a/cminpack/pom.xml +++ b/cminpack/pom.xml @@ -18,7 +18,7 @@ org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco @@ -41,12 +41,12 @@ org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} ${javacpp.platform} diff --git a/cpython/README.md b/cpython/README.md index a9d475eeb6f..244f026db5d 100644 --- a/cpython/README.md +++ b/cpython/README.md @@ -14,7 +14,7 @@ Introduction ------------ This directory contains the JavaCPP Presets module for: - * CPython 3.12.4 https://www.python.org/ + * CPython 3.12.5 https://www.python.org/ Please refer to the parent README.md file for more detailed information about the JavaCPP Presets. @@ -54,7 +54,7 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic org.bytedeco cpython-platform - 3.12.4-1.5.11-SNAPSHOT + 3.12.5-1.5.11-SNAPSHOT diff --git a/cpython/cppbuild.sh b/cpython/cppbuild.sh index de188be6d81..9fea5a806ed 100755 --- a/cpython/cppbuild.sh +++ b/cpython/cppbuild.sh @@ -7,8 +7,8 @@ if [[ -z "$PLATFORM" ]]; then exit fi -OPENSSL=openssl-3.3.0 -CPYTHON_VERSION=3.12.4 +OPENSSL=openssl-3.3.1 +CPYTHON_VERSION=3.12.5 download https://www.openssl.org/source/$OPENSSL.tar.gz $OPENSSL.tar.gz download https://www.python.org/ftp/python/$CPYTHON_VERSION/Python-$CPYTHON_VERSION.tgz Python-$CPYTHON_VERSION.tgz diff --git a/cpython/platform/pom.xml b/cpython/platform/pom.xml index 2780f734e10..bf0fdfc3ca7 100644 --- a/cpython/platform/pom.xml +++ b/cpython/platform/pom.xml @@ -12,7 +12,7 @@ org.bytedeco cpython-platform - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} JavaCPP Presets Platform for CPython diff --git a/cpython/pom.xml b/cpython/pom.xml index 199ffe8e179..e8906987fca 100644 --- a/cpython/pom.xml +++ b/cpython/pom.xml @@ -11,7 +11,7 @@ org.bytedeco cpython - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} JavaCPP Presets for CPython diff --git a/cpython/samples/pom.xml b/cpython/samples/pom.xml index 66f3dbb4f81..97112da2b86 100644 --- a/cpython/samples/pom.xml +++ b/cpython/samples/pom.xml @@ -12,7 +12,7 @@ org.bytedeco cpython-platform - 3.12.4-1.5.11-SNAPSHOT + 3.12.5-1.5.11-SNAPSHOT diff --git a/cpython/src/gen/java/org/bytedeco/cpython/global/python.java b/cpython/src/gen/java/org/bytedeco/cpython/global/python.java index 6aaa75ced7c..59f041a87ff 100644 --- a/cpython/src/gen/java/org/bytedeco/cpython/global/python.java +++ b/cpython/src/gen/java/org/bytedeco/cpython/global/python.java @@ -144,12 +144,12 @@ There is also (independent) API version information in modsupport.h. /*--start constants--*/ public static final int PY_MAJOR_VERSION = 3; public static final int PY_MINOR_VERSION = 12; -public static final int PY_MICRO_VERSION = 4; +public static final int PY_MICRO_VERSION = 5; public static final int PY_RELEASE_LEVEL = PY_RELEASE_LEVEL_FINAL; public static final int PY_RELEASE_SERIAL = 0; /* Version as a string */ -public static final String PY_VERSION = "3.12.4"; +public static final String PY_VERSION = "3.12.5"; /*--end constants--*/ /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2. @@ -2932,11 +2932,11 @@ linkage handling and it uses __declspec(). // MSVC makes static_assert a keyword in C11-17, contrary to the standards. // // In C++11 and C2x, static_assert is a keyword, redefining is undefined -// behaviour. So only define if building as C (if __STDC_VERSION__ is defined), -// not C++, and only for C11-17. +// behaviour. So only define if building as C, not C++ (if __cplusplus is +// not defined), and only for C11-17. // #if !defined(static_assert) && (defined(__GNUC__) || defined(__clang__)) -// && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L -// && __STDC_VERSION__ <= 201710L +// && !defined(__cplusplus) && defined(__STDC_VERSION__) +// && __STDC_VERSION__ >= 201112L && __STDC_VERSION__ <= 201710L // # define static_assert _Static_assert // #endif @@ -8277,7 +8277,7 @@ and where the hash values are equal (i.e. a very probable match) */ /* Float object interface */ /* -PyFloatObject represents a (double precision) floating point number. +PyFloatObject represents a (double precision) floating-point number. */ // #ifndef Py_FLOATOBJECT_H diff --git a/dnnl/README.md b/dnnl/README.md index e88be997515..365fec31cb7 100644 --- a/dnnl/README.md +++ b/dnnl/README.md @@ -9,7 +9,7 @@ Introduction ------------ This directory contains the JavaCPP Presets module for: - * DNNL 3.3.4 https://01.org/dnnl + * DNNL 3.5.3 https://01.org/dnnl Please refer to the parent README.md file for more detailed information about the JavaCPP Presets. @@ -25,7 +25,7 @@ Sample Usage ------------ Here is a simple example of DNNL ported to Java from this C++ source file: - * https://github.com/oneapi-src/oneDNN/blob/v3.3.4/examples/cnn_inference_int8.cpp + * https://github.com/oneapi-src/oneDNN/blob/v3.5.3/examples/cnn_inference_int8.cpp We can use [Maven 3](http://maven.apache.org/) to download and install automatically all the class files as well as the native binaries. To run this sample code, after creating the `pom.xml` and `CpuCnnInferenceInt8.java` source files below, simply execute on the command line: ```bash @@ -46,7 +46,7 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic org.bytedeco dnnl-platform - 3.3.4-1.5.10 + 3.5.3-1.5.11-SNAPSHOT diff --git a/dnnl/cppbuild.sh b/dnnl/cppbuild.sh index 4849e7419ae..55ae5f985ef 100755 --- a/dnnl/cppbuild.sh +++ b/dnnl/cppbuild.sh @@ -11,7 +11,7 @@ export DNNL_CPU_RUNTIME="OMP" # or TBB export DNNL_GPU_RUNTIME="OCL" TBB_VERSION=2020.3 -MKLDNN_VERSION=3.4.1 +MKLDNN_VERSION=3.5.3 download https://github.com/oneapi-src/oneTBB/archive/v$TBB_VERSION.tar.gz oneTBB-$TBB_VERSION.tar.bz2 download https://github.com/oneapi-src/oneDNN/archive/v$MKLDNN_VERSION.tar.gz oneDNN-$MKLDNN_VERSION.tar.bz2 diff --git a/dnnl/platform/pom.xml b/dnnl/platform/pom.xml index eba249aa506..32ec513cc91 100644 --- a/dnnl/platform/pom.xml +++ b/dnnl/platform/pom.xml @@ -12,7 +12,7 @@ org.bytedeco dnnl-platform - 3.4.1-${project.parent.version} + 3.5.3-${project.parent.version} JavaCPP Presets Platform for DNNL diff --git a/dnnl/pom.xml b/dnnl/pom.xml index fa19150d4d5..029829f4987 100644 --- a/dnnl/pom.xml +++ b/dnnl/pom.xml @@ -11,7 +11,7 @@ org.bytedeco dnnl - 3.4.1-${project.parent.version} + 3.5.3-${project.parent.version} JavaCPP Presets for DNNL diff --git a/dnnl/samples/CpuCnnInferenceInt8.java b/dnnl/samples/CpuCnnInferenceInt8.java index 3e1d32d2c68..b7a62386017 100644 --- a/dnnl/samples/CpuCnnInferenceInt8.java +++ b/dnnl/samples/CpuCnnInferenceInt8.java @@ -1,5 +1,5 @@ /******************************************************************************* -* Copyright 2018-2022 Intel Corporation +* Copyright 2018-2024 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -87,7 +87,7 @@ static void simple_net_int8(engine.kind engine_kind) throws Exception { //[Choose scaling factors] - /// The *source, weights, bias* and *destination* datasets use the single-scale + /// The *source, weights* and *destination* datasets use the single-scale /// format with mask set to '0'. /// @snippet cnn_inference_int8.cpp Set scaling mask //[Set scaling mask] @@ -122,7 +122,7 @@ static void simple_net_int8(engine.kind engine_kind) throws Exception { /// descriptors are configured as: /// /// * 8-bit unsigned (u8) for source and destination. - /// * 8-bit signed (s8) for bias and weights. + /// * 8-bit signed (s8) for weights. /// /// > **Note** /// > The destination type is chosen as *unsigned* because the @@ -130,7 +130,7 @@ static void simple_net_int8(engine.kind engine_kind) throws Exception { /// @snippet cnn_inference_int8.cpp Create convolution memory descriptors //[Create convolution memory descriptors] memory.desc conv_src_md = new memory.desc(conv_src_tz, memory.data_type.u8, memory.format_tag.any); - memory.desc conv_bias_md = new memory.desc(conv_bias_tz, memory.data_type.s8, memory.format_tag.any); + memory.desc conv_bias_md = new memory.desc(conv_bias_tz, memory.data_type.f32, memory.format_tag.any); memory.desc conv_weights_md = new memory.desc(conv_weights_tz, memory.data_type.s8, memory.format_tag.any); memory.desc conv_dst_md = new memory.desc(conv_dst_tz, memory.data_type.u8, memory.format_tag.any); //[Create convolution memory descriptors] diff --git a/dnnl/samples/pom.xml b/dnnl/samples/pom.xml index 6e453865130..d1a991f327a 100644 --- a/dnnl/samples/pom.xml +++ b/dnnl/samples/pom.xml @@ -12,7 +12,7 @@ org.bytedeco dnnl-platform - 3.3.4-1.5.11-SNAPSHOT + 3.5.3-1.5.11-SNAPSHOT diff --git a/dnnl/src/gen/java/org/bytedeco/dnnl/global/dnnl.java b/dnnl/src/gen/java/org/bytedeco/dnnl/global/dnnl.java index 4faff3be92e..bf21c6a2ffd 100644 --- a/dnnl/src/gen/java/org/bytedeco/dnnl/global/dnnl.java +++ b/dnnl/src/gen/java/org/bytedeco/dnnl/global/dnnl.java @@ -33,7 +33,7 @@ public class dnnl extends org.bytedeco.dnnl.presets.dnnl { // Parsed from oneapi/dnnl/dnnl_common_types.h /******************************************************************************* -* Copyright 2022-2023 Intel Corporation +* Copyright 2022-2024 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -132,6 +132,10 @@ public class dnnl extends org.bytedeco.dnnl.presets.dnnl { /** [OFP8 standard 8-bit floating-point](https://www.opencompute.org/documents/ocp-8-bit-floating-point-specification-ofp8-revision-1-0-2023-06-20-pdf) * with a 4-bit exponent and a 3-bit mantissa. */ dnnl_f8_e4m3 = 10, + /** 4-bit signed integer. */ + dnnl_s4 = 11, + /** 4-bit unsigned integer. */ + dnnl_u4 = 12, /** Parameter to allow internal only data_types without undefined behavior. * This parameter is chosen to be valid for so long as sizeof(int) >= 2. */ @@ -1314,10 +1318,23 @@ public class dnnl extends org.bytedeco.dnnl.presets.dnnl { dnnl_Ab8a = 822, dnnl_BA4b4a = 823, dnnl_BA8b4a = 824, + dnnl_BA2a24b = 825, + dnnl_aCB2b24c = 826, + dnnl_BA2a8b = 827, + dnnl_aCB2b8c = 828, + dnnl_BA8a24b = 829, + dnnl_aCB8b24c = 830, + dnnl_BA8a16b = 831, + dnnl_aCB8b16c = 832, + dnnl_BA8a8b = 833, + dnnl_aCB8b8c = 834, + dnnl_bcad = 835, + dnnl_cabd = 836, + dnnl_dabc = 837, /** Just a sentinel, not real memory format tag. Must be changed after new * format tag is added. */ - dnnl_format_tag_last = 825, + dnnl_format_tag_last = 838, // Aliases @@ -2687,6 +2704,8 @@ public class dnnl extends org.bytedeco.dnnl.presets.dnnl { /** A primitive handle. */ /** A constant primitive handle. */ +/** Undefined argument. */ +public static final int DNNL_ARG_UNDEF = 0; /** Source argument #0. */ public static final int DNNL_ARG_SRC_0 = 1; /** A special mnemonic for source argument for primitives that have a @@ -3147,15 +3166,24 @@ public class dnnl extends org.bytedeco.dnnl.presets.dnnl { /** Intel AVX-512 with float16, Intel DL Boost and bfloat16 support * for Intel Xeon Scalable processor family * and Intel Core processor family. */ - dnnl_cpu_isa_avx512_core_fp16 = 0x1ef, + // TODO: Align avx10_1 values to internal representation. + dnnl_cpu_isa_avx10_1_512 = 0x1ef, + /** \copydoc dnnl_cpu_isa_avx10_1_512 */ + dnnl_cpu_isa_avx512_core_fp16 = dnnl_cpu_isa_avx10_1_512, /** Intel AVX-512 with float16, Intel DL Boost and bfloat16 support and * Intel AMX with 8-bit integer and bfloat16 support */ - dnnl_cpu_isa_avx512_core_amx = 0xfef, + // TODO: Align avx10_1 values to internal representation. + dnnl_cpu_isa_avx10_1_512_amx = 0xfef, + /** \copydoc dnnl_cpu_isa_avx10_1_512_amx */ + dnnl_cpu_isa_avx512_core_amx = dnnl_cpu_isa_avx10_1_512_amx, /** Intel AVX-512 with float16, Intel DL Boost and bfloat16 support and * Intel AMX with 8-bit integer, bfloat16 and float16 support */ - dnnl_cpu_isa_avx512_core_amx_fp16 = 0x1fef; + // TODO: Align avx10_1 values to internal representation. + dnnl_cpu_isa_avx10_1_512_amx_fp16 = 0x1fef, + /** \copydoc dnnl_cpu_isa_avx10_1_512_amx_fp16 */ + dnnl_cpu_isa_avx512_core_amx_fp16 = dnnl_cpu_isa_avx10_1_512_amx_fp16; /** CPU ISA hints flags */ /** enum dnnl_cpu_isa_hints_t */ @@ -3389,7 +3417,7 @@ public class dnnl extends org.bytedeco.dnnl.presets.dnnl { // Parsed from oneapi/dnnl/dnnl_config.h /******************************************************************************* -* Copyright 2019-2023 Intel Corporation +* Copyright 2019-2024 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -3535,6 +3563,9 @@ public class dnnl extends org.bytedeco.dnnl.presets.dnnl { // When defined, experimental functionality for sparse domain is enabled. /* #undef DNNL_EXPERIMENTAL_SPARSE */ +// When defined, experimental functionality for ukernels is enabled. +/* #undef DNNL_EXPERIMENTAL_UKERNEL */ + // When defined, graph component is enabled. /* #undef ONEDNN_BUILD_GRAPH */ @@ -3581,6 +3612,7 @@ public class dnnl extends org.bytedeco.dnnl.presets.dnnl { public static final int BUILD_XEHP = 0; public static final int BUILD_XEHPG = 0; public static final int BUILD_XEHPC = 0; +public static final int BUILD_XE2 = 0; // GeMM kernels ISA controls public static final int BUILD_GEMM_KERNELS_ALL = 1; public static final int BUILD_GEMM_KERNELS_NONE = 0; @@ -3617,10 +3649,10 @@ public class dnnl extends org.bytedeco.dnnl.presets.dnnl { public static final int DNNL_VERSION_MAJOR = 3; /** Minor version */ -public static final int DNNL_VERSION_MINOR = 4; +public static final int DNNL_VERSION_MINOR = 5; /** Patch version */ -public static final int DNNL_VERSION_PATCH = 1; +public static final int DNNL_VERSION_PATCH = 3; /** Git commit hash */ public static native @MemberGetter String DNNL_VERSION_HASH(); @@ -8502,8 +8534,12 @@ public static native int dnnl_memory_desc_equal( * The ISAs are only partially ordered: * - SSE41 < AVX < AVX2 < AVX2_VNNI < AVX2_VNNI_2, * - AVX2 < AVX512_CORE < AVX512_CORE_VNNI < AVX512_CORE_BF16 - * < AVX512_CORE_FP16 < AVX512_CORE_AMX < AVX512_CORE_AMX_FP16, - * - AVX2_VNNI < AVX512_CORE_FP16. + * < AVX10_1_512 < AVX10_1_512_AMX < AVX10_1_512_AMX_FP16, + * - AVX2_VNNI < AVX10_1_512. + * Aliases: + * - AVX512_CORE_FP16 = AVX10_1_512 + * - AVX512_CORE_AMX = AVX10_1_512_AMX + * - AVX512_CORE_AMX_FP16 = AVX10_1_512_AMX_FP16 * * @see \ref dev_guide_cpu_dispatcher_control for more details * @@ -9948,10 +9984,16 @@ public static native int dnnl_memory_desc_equal( avx512_core_vnni(dnnl_cpu_isa_avx512_core_vnni), /** \copydoc dnnl_cpu_isa_avx512_core_bf16 */ avx512_core_bf16(dnnl_cpu_isa_avx512_core_bf16), + /** \copydoc dnnl_cpu_isa_avx10_1_512 */ + avx10_1_512(dnnl_cpu_isa_avx10_1_512), /** \copydoc dnnl_cpu_isa_avx512_core_fp16 */ avx512_core_fp16(dnnl_cpu_isa_avx512_core_fp16), + /** \copydoc dnnl_cpu_isa_avx10_1_512_amx */ + avx10_1_512_amx(dnnl_cpu_isa_avx10_1_512_amx), /** \copydoc dnnl_cpu_isa_avx512_core_amx */ avx512_core_amx(dnnl_cpu_isa_avx512_core_amx), + /** \copydoc dnnl_cpu_isa_avx10_1_512_amx_fp16 */ + avx10_1_512_amx_fp16(dnnl_cpu_isa_avx10_1_512_amx_fp16), /** \copydoc dnnl_cpu_isa_avx512_core_amx_fp16 */ avx512_core_amx_fp16(dnnl_cpu_isa_avx512_core_amx_fp16); diff --git a/dnnl/src/gen/java/org/bytedeco/dnnl/memory.java b/dnnl/src/gen/java/org/bytedeco/dnnl/memory.java index 29c13f9fe9b..275d3e36986 100644 --- a/dnnl/src/gen/java/org/bytedeco/dnnl/memory.java +++ b/dnnl/src/gen/java/org/bytedeco/dnnl/memory.java @@ -154,7 +154,11 @@ public enum data_type { /** 8-bit signed integer. */ s8(dnnl_s8), /** 8-bit unsigned integer. */ - u8(dnnl_u8); + u8(dnnl_u8), + /** 4-bit signed integer. */ + s4(dnnl_s4), + /** 4-bit unsigned integer. */ + u4(dnnl_u4); public final int value; private data_type(int v) { this.value = v; } @@ -1979,7 +1983,20 @@ public enum format_tag { gIhwO8i4o(dnnl_gIhwO8i4o), gIhwO24i4o(dnnl_gIhwO24i4o), gIdhwO8i4o(dnnl_gIdhwO8i4o), - gIdhwO24i4o(dnnl_gIdhwO24i4o); + gIdhwO24i4o(dnnl_gIdhwO24i4o), + BA2a24b(dnnl_BA2a24b), + aCB2b24c(dnnl_aCB2b24c), + BA2a8b(dnnl_BA2a8b), + aCB2b8c(dnnl_aCB2b8c), + BA8a24b(dnnl_BA8a24b), + aCB8b24c(dnnl_aCB8b24c), + BA8a16b(dnnl_BA8a16b), + aCB8b16c(dnnl_aCB8b16c), + BA8a8b(dnnl_BA8a8b), + aCB8b8c(dnnl_aCB8b8c), + bcad(dnnl_bcad), + cabd(dnnl_cabd), + dabc(dnnl_dabc); public final int value; private format_tag(int v) { this.value = v; } diff --git a/dnnl/src/gen/java/org/bytedeco/dnnl/primitive_attr.java b/dnnl/src/gen/java/org/bytedeco/dnnl/primitive_attr.java index 151d8cca9e1..2cde308a4d3 100644 --- a/dnnl/src/gen/java/org/bytedeco/dnnl/primitive_attr.java +++ b/dnnl/src/gen/java/org/bytedeco/dnnl/primitive_attr.java @@ -150,7 +150,8 @@ public class primitive_attr extends dnnl_primitive_attr_handle { * @param groups Scaling factors correspondence groups that define the * correspondence between the tensor dimensions and the scales array. * The set i-th dimension indicates a number of groups of scaling - * factors used for that logical dimension in a memory indicated by \p arg. */ + * factors used for that logical dimension in a memory indicated by \p arg. + * @param data_type Scaling factors data_type. */ /// /// @@ -198,7 +199,8 @@ public native void set_scales(int arg, int mask, @Const @Cast({"dnnl_dim_t*", "s * @param groups Zero point factors correspondence groups that define the * correspondence between the tensor dimensions and the zero_points array. * The set i-th dimension indicates a number of groups of zero point - * factors used for that logical dimension in a memory indicated by \p arg. */ + * factors used for that logical dimension in a memory indicated by \p arg. + * @param data_type Zero point factors data_type. */ /// public native void set_zero_points(int arg, int mask, @Const @Cast({"dnnl_dim_t*", "std::vector&"}) @StdVector("dnnl_dim_t") @ByRef LongPointer groups, diff --git a/gsl/platform/pom.xml b/gsl/platform/pom.xml index 36be8313b18..a9f74516cb2 100644 --- a/gsl/platform/pom.xml +++ b/gsl/platform/pom.xml @@ -23,7 +23,7 @@ org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} ${project.groupId} diff --git a/gsl/pom.xml b/gsl/pom.xml index 657535e2128..e04a387ed67 100644 --- a/gsl/pom.xml +++ b/gsl/pom.xml @@ -18,7 +18,7 @@ org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco @@ -44,12 +44,12 @@ org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} ${javacpp.platform} diff --git a/llvm/README.md b/llvm/README.md index e3a23b8694c..48a2ad255fb 100644 --- a/llvm/README.md +++ b/llvm/README.md @@ -9,7 +9,7 @@ Introduction ------------ This directory contains the JavaCPP Presets module for: - * LLVM 18.1.4 http://llvm.org/ + * LLVM 18.1.8 http://llvm.org/ Please refer to the parent README.md file for more detailed information about the JavaCPP Presets. @@ -50,7 +50,7 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic org.bytedeco llvm-platform - 18.1.4-1.5.11-SNAPSHOT + 18.1.8-1.5.11-SNAPSHOT diff --git a/llvm/cppbuild.sh b/llvm/cppbuild.sh index 32b14e3aa2e..5cfd7b68653 100755 --- a/llvm/cppbuild.sh +++ b/llvm/cppbuild.sh @@ -7,7 +7,7 @@ if [[ -z "$PLATFORM" ]]; then exit fi -LLVM_VERSION=18.1.4 +LLVM_VERSION=18.1.8 download https://github.com/llvm/llvm-project/releases/download/llvmorg-$LLVM_VERSION/llvm-project-$LLVM_VERSION.src.tar.xz llvm-project-$LLVM_VERSION.src.tar.xz mkdir -p $PLATFORM diff --git a/llvm/platform/pom.xml b/llvm/platform/pom.xml index 236297d9f2e..06730b54fa3 100644 --- a/llvm/platform/pom.xml +++ b/llvm/platform/pom.xml @@ -12,7 +12,7 @@ org.bytedeco llvm-platform - 18.1.4-${project.parent.version} + 18.1.8-${project.parent.version} JavaCPP Presets Platform for LLVM diff --git a/llvm/pom.xml b/llvm/pom.xml index a9b6278b6cc..47a5faf469d 100644 --- a/llvm/pom.xml +++ b/llvm/pom.xml @@ -11,7 +11,7 @@ org.bytedeco llvm - 18.1.4-${project.parent.version} + 18.1.8-${project.parent.version} JavaCPP Presets for LLVM diff --git a/llvm/samples/clang/pom.xml b/llvm/samples/clang/pom.xml index f19a6c60a40..8ff44399d0c 100644 --- a/llvm/samples/clang/pom.xml +++ b/llvm/samples/clang/pom.xml @@ -12,7 +12,7 @@ org.bytedeco llvm-platform - 18.1.4-1.5.11-SNAPSHOT + 18.1.8-1.5.11-SNAPSHOT diff --git a/llvm/samples/llvm/pom.xml b/llvm/samples/llvm/pom.xml index d465c9d2e0a..ecd1ffbe79c 100644 --- a/llvm/samples/llvm/pom.xml +++ b/llvm/samples/llvm/pom.xml @@ -12,7 +12,7 @@ org.bytedeco llvm-platform - 18.1.4-1.5.11-SNAPSHOT + 18.1.8-1.5.11-SNAPSHOT org.bytedeco diff --git a/llvm/samples/polly/pom.xml b/llvm/samples/polly/pom.xml index 226dca217ba..fa9e576a7eb 100644 --- a/llvm/samples/polly/pom.xml +++ b/llvm/samples/polly/pom.xml @@ -13,7 +13,7 @@ org.bytedeco llvm-platform - 18.1.4-1.5.11-SNAPSHOT + 18.1.8-1.5.11-SNAPSHOT org.bytedeco diff --git a/numpy/README.md b/numpy/README.md index 6b990c7753a..f89874e9a51 100644 --- a/numpy/README.md +++ b/numpy/README.md @@ -9,7 +9,7 @@ Introduction ------------ This directory contains the JavaCPP Presets module for: - * NumPy 2.0.0 http://www.numpy.org/ + * NumPy 2.0.1 http://www.numpy.org/ Please refer to the parent README.md file for more detailed information about the JavaCPP Presets. @@ -48,7 +48,7 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic org.bytedeco numpy-platform - 2.0.0-1.5.11-SNAPSHOT + 2.0.1-1.5.11-SNAPSHOT diff --git a/numpy/cppbuild.sh b/numpy/cppbuild.sh index 1b3080f843b..7677ff151a5 100755 --- a/numpy/cppbuild.sh +++ b/numpy/cppbuild.sh @@ -7,7 +7,7 @@ if [[ -z "$PLATFORM" ]]; then exit fi -NUMPY_VERSION=2.0.0 +NUMPY_VERSION=2.0.1 download https://github.com/numpy/numpy/releases/download/v$NUMPY_VERSION/numpy-$NUMPY_VERSION.tar.gz numpy-$NUMPY_VERSION.tar.gz mkdir -p $PLATFORM diff --git a/numpy/platform/pom.xml b/numpy/platform/pom.xml index 85879274202..d1d9dbaf68b 100644 --- a/numpy/platform/pom.xml +++ b/numpy/platform/pom.xml @@ -12,7 +12,7 @@ org.bytedeco numpy-platform - 2.0.0-${project.parent.version} + 2.0.1-${project.parent.version} JavaCPP Presets Platform for NumPy @@ -23,12 +23,12 @@ org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco cpython-platform - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} ${project.groupId} diff --git a/numpy/pom.xml b/numpy/pom.xml index a83dc3a79f8..4296ef03c5f 100644 --- a/numpy/pom.xml +++ b/numpy/pom.xml @@ -11,19 +11,19 @@ org.bytedeco numpy - 2.0.0-${project.parent.version} + 2.0.1-${project.parent.version} JavaCPP Presets for NumPy org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco cpython - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} org.bytedeco @@ -46,23 +46,23 @@ org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco cpython - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} ${javacpp.platform} org.bytedeco cpython - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} ${javacpp.platform} @@ -171,7 +171,7 @@ org.bytedeco cpython - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} ${os.name}-${os.arch} diff --git a/numpy/samples/pom.xml b/numpy/samples/pom.xml index cfeb40f12d0..9ac0e9ef8f0 100644 --- a/numpy/samples/pom.xml +++ b/numpy/samples/pom.xml @@ -12,7 +12,7 @@ org.bytedeco numpy-platform - 2.0.0-1.5.11-SNAPSHOT + 2.0.1-1.5.11-SNAPSHOT diff --git a/numpy/src/gen/java/org/bytedeco/numpy/global/numpy.java b/numpy/src/gen/java/org/bytedeco/numpy/global/numpy.java index ae953199d28..514b137099a 100644 --- a/numpy/src/gen/java/org/bytedeco/numpy/global/numpy.java +++ b/numpy/src/gen/java/org/bytedeco/numpy/global/numpy.java @@ -506,6 +506,12 @@ public class numpy extends org.bytedeco.numpy.presets.numpy { // #include +// Downstream libraries like sympy would like to use I +// see https://github.com/numpy/numpy/issues/26787 +// #ifdef I +// #undef I +// #endif + // #if defined(_MSC_VER) && !defined(__INTEL_COMPILER) // #else /* !defined(_MSC_VER) || defined(__INTEL_COMPILER) */ // #endif diff --git a/onnx/README.md b/onnx/README.md index 59415233857..8b1f5ff9336 100644 --- a/onnx/README.md +++ b/onnx/README.md @@ -9,7 +9,7 @@ Introduction ------------ This directory contains the JavaCPP Presets module for: - * ONNX 1.16.1 https://onnx.ai/ + * ONNX 1.16.2 https://onnx.ai/ Please refer to the parent README.md file for more detailed information about the JavaCPP Presets. @@ -47,7 +47,7 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic org.bytedeco onnx-platform - 1.16.1-1.5.11-SNAPSHOT + 1.16.2-1.5.11-SNAPSHOT diff --git a/onnx/cppbuild.sh b/onnx/cppbuild.sh index 0c827e3e9f9..f870dcbea0a 100755 --- a/onnx/cppbuild.sh +++ b/onnx/cppbuild.sh @@ -12,7 +12,7 @@ export ONNX_ML=1 export CMAKE_BUILD_DIR=.setuptools-cmake-build/ export MAX_JOBS=$MAKEJ -export ONNX=1.16.1 +export ONNX=1.16.2 export PROTO=3.20.3 export PYBIND=2.11.0 diff --git a/onnx/platform/pom.xml b/onnx/platform/pom.xml index a7002faec73..5df513cddc3 100644 --- a/onnx/platform/pom.xml +++ b/onnx/platform/pom.xml @@ -12,7 +12,7 @@ org.bytedeco onnx-platform - 1.16.1-${project.parent.version} + 1.16.2-${project.parent.version} JavaCPP Presets Platform for ONNX @@ -28,7 +28,7 @@ org.bytedeco cpython-platform - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} true diff --git a/onnx/pom.xml b/onnx/pom.xml index d5ba47b4f89..e3404d7a6f3 100644 --- a/onnx/pom.xml +++ b/onnx/pom.xml @@ -11,7 +11,7 @@ org.bytedeco onnx - 1.16.1-${project.parent.version} + 1.16.2-${project.parent.version} JavaCPP Presets for ONNX @@ -22,7 +22,7 @@ org.bytedeco cpython - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} true @@ -42,7 +42,7 @@ org.bytedeco cpython-platform - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} diff --git a/onnx/samples/pom.xml b/onnx/samples/pom.xml index f8b239feddf..b8e14bf60e9 100644 --- a/onnx/samples/pom.xml +++ b/onnx/samples/pom.xml @@ -12,7 +12,7 @@ org.bytedeco onnx-platform - 1.16.1-1.5.11-SNAPSHOT + 1.16.2-1.5.11-SNAPSHOT diff --git a/onnxruntime/README.md b/onnxruntime/README.md index 749ef2b9572..dae4ac8e5de 100644 --- a/onnxruntime/README.md +++ b/onnxruntime/README.md @@ -9,7 +9,7 @@ Introduction ------------ This directory contains the JavaCPP Presets module for: - * ONNX Runtime 1.18.0 https://microsoft.github.io/onnxruntime/ + * ONNX Runtime 1.18.1 https://microsoft.github.io/onnxruntime/ Please refer to the parent README.md file for more detailed information about the JavaCPP Presets. @@ -46,14 +46,14 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic org.bytedeco onnxruntime-platform - 1.18.0-1.5.11-SNAPSHOT + 1.18.1-1.5.11-SNAPSHOT org.bytedeco onnxruntime-platform-gpu - 1.18.0-1.5.11-SNAPSHOT + 1.18.1-1.5.11-SNAPSHOT diff --git a/onnxruntime/cppbuild.sh b/onnxruntime/cppbuild.sh index 1045185eb7f..0e479e6174d 100755 --- a/onnxruntime/cppbuild.sh +++ b/onnxruntime/cppbuild.sh @@ -22,7 +22,7 @@ if [[ "$EXTENSION" == *gpu ]]; then GPU_FLAGS="--use_cuda" fi -ONNXRUNTIME=1.18.0 +ONNXRUNTIME=1.18.1 mkdir -p "$PLATFORM$EXTENSION" cd "$PLATFORM$EXTENSION" @@ -94,7 +94,7 @@ sedinplace 's/-fvisibility=hidden//g' cmake/CMakeLists.txt cmake/adjust_global_c sedinplace 's:/Yucuda_pch.h /FIcuda_pch.h::g' cmake/onnxruntime_providers_cuda.cmake cmake/onnxruntime_providers.cmake sedinplace 's/${PROJECT_SOURCE_DIR}\/external\/cub//g' cmake/onnxruntime_providers_cuda.cmake cmake/onnxruntime_providers.cmake sedinplace 's/ONNXRUNTIME_PROVIDERS_SHARED)/ONNXRUNTIME_PROVIDERS_SHARED onnxruntime_providers_shared)/g' cmake/onnxruntime_providers_cpu.cmake cmake/onnxruntime_providers.cmake -sedinplace 's/DNNL_TAG v.*)/DNNL_TAG v3.4.1)/g' cmake/external/dnnl.cmake +sedinplace 's/DNNL_TAG v.*)/DNNL_TAG v3.5.3)/g' cmake/external/dnnl.cmake sedinplace 's/DNNL_SHARED_LIB libdnnl.1.dylib/DNNL_SHARED_LIB libdnnl.2.dylib/g' cmake/external/dnnl.cmake sedinplace 's/DNNL_SHARED_LIB libdnnl.so.1/DNNL_SHARED_LIB libdnnl.so.2/g' cmake/external/dnnl.cmake sedinplace 's/ CMAKE_ARGS/CMAKE_ARGS -DMKLDNN_BUILD_EXAMPLES=OFF -DMKLDNN_BUILD_TESTS=OFF -DDNNL_CPU_RUNTIME=SEQ/g' cmake/external/dnnl.cmake diff --git a/onnxruntime/platform/gpu/pom.xml b/onnxruntime/platform/gpu/pom.xml index eb51fc8a842..7fa142d98c9 100644 --- a/onnxruntime/platform/gpu/pom.xml +++ b/onnxruntime/platform/gpu/pom.xml @@ -12,7 +12,7 @@ org.bytedeco onnxruntime-platform-gpu - 1.18.0-${project.parent.version} + 1.18.1-${project.parent.version} JavaCPP Presets Platform GPU for ONNX Runtime @@ -24,7 +24,7 @@ org.bytedeco dnnl-platform - 3.4.1-${project.parent.version} + 3.5.3-${project.parent.version} ${project.groupId} diff --git a/onnxruntime/platform/pom.xml b/onnxruntime/platform/pom.xml index 929032caf79..3c412925cd2 100644 --- a/onnxruntime/platform/pom.xml +++ b/onnxruntime/platform/pom.xml @@ -12,7 +12,7 @@ org.bytedeco onnxruntime-platform - 1.18.0-${project.parent.version} + 1.18.1-${project.parent.version} JavaCPP Presets Platform for ONNX Runtime @@ -23,7 +23,7 @@ org.bytedeco dnnl-platform - 3.4.1-${project.parent.version} + 3.5.3-${project.parent.version} ${project.groupId} diff --git a/onnxruntime/pom.xml b/onnxruntime/pom.xml index a68f2ac3d4b..e0a60dbcf08 100644 --- a/onnxruntime/pom.xml +++ b/onnxruntime/pom.xml @@ -11,7 +11,7 @@ org.bytedeco onnxruntime - 1.18.0-${project.parent.version} + 1.18.1-${project.parent.version} JavaCPP Presets for ONNX Runtime @@ -22,7 +22,7 @@ org.bytedeco dnnl - 3.4.1-${project.parent.version} + 3.5.3-${project.parent.version} org.bytedeco @@ -49,7 +49,7 @@ org.bytedeco dnnl-platform - 3.4.1-${project.parent.version} + 3.5.3-${project.parent.version} diff --git a/onnxruntime/samples/pom.xml b/onnxruntime/samples/pom.xml index ee30ff3e9a7..a02d0b9546d 100644 --- a/onnxruntime/samples/pom.xml +++ b/onnxruntime/samples/pom.xml @@ -12,14 +12,14 @@ org.bytedeco onnxruntime-platform - 1.18.0-1.5.11-SNAPSHOT + 1.18.1-1.5.11-SNAPSHOT org.bytedeco onnxruntime-platform-gpu - 1.18.0-1.5.11-SNAPSHOT + 1.18.1-1.5.11-SNAPSHOT diff --git a/onnxruntime/src/main/java/org/bytedeco/onnxruntime/presets/onnxruntime.java b/onnxruntime/src/main/java/org/bytedeco/onnxruntime/presets/onnxruntime.java index abc952aa973..f1b673c86e4 100644 --- a/onnxruntime/src/main/java/org/bytedeco/onnxruntime/presets/onnxruntime.java +++ b/onnxruntime/src/main/java/org/bytedeco/onnxruntime/presets/onnxruntime.java @@ -64,16 +64,16 @@ // "onnxruntime/core/providers/rocm/rocm_provider_factory.h", // "onnxruntime/core/providers/dml/dml_provider_factory.h", }, - link = {"onnxruntime_providers_shared", "onnxruntime@.1.18.0"} + link = {"onnxruntime_providers_shared", "onnxruntime@.1.18.1"} ), @Platform( value = {"linux-x86_64", "macosx-x86_64", "windows-x86_64"}, - link = {"onnxruntime_providers_shared", "onnxruntime@.1.18.0", "onnxruntime_providers_dnnl"} + link = {"onnxruntime_providers_shared", "onnxruntime@.1.18.1", "onnxruntime_providers_dnnl"} ), @Platform( value = {"linux-x86_64", "macosx-x86_64", "windows-x86_64"}, extension = "-gpu", - link = {"onnxruntime_providers_shared", "onnxruntime@.1.18.0", "onnxruntime_providers_dnnl", "onnxruntime_providers_cuda"} + link = {"onnxruntime_providers_shared", "onnxruntime@.1.18.1", "onnxruntime_providers_dnnl", "onnxruntime_providers_cuda"} ), }, target = "org.bytedeco.onnxruntime", diff --git a/openblas/README.md b/openblas/README.md index 67e2520b8b5..dd72da01cfa 100644 --- a/openblas/README.md +++ b/openblas/README.md @@ -9,7 +9,7 @@ Introduction ------------ This directory contains the JavaCPP Presets module for: - * OpenBLAS 0.3.27 http://www.openblas.net/ + * OpenBLAS 0.3.28 http://www.openblas.net/ Please refer to the parent README.md file for more detailed information about the JavaCPP Presets. @@ -50,7 +50,7 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic org.bytedeco openblas-platform - 0.3.27-1.5.11-SNAPSHOT + 0.3.28-1.5.11-SNAPSHOT diff --git a/openblas/cppbuild.sh b/openblas/cppbuild.sh index bbb4047b753..ac3ddbc09a0 100755 --- a/openblas/cppbuild.sh +++ b/openblas/cppbuild.sh @@ -7,7 +7,7 @@ if [[ -z "$PLATFORM" ]]; then exit fi -OPENBLAS_VERSION=0.3.27 +OPENBLAS_VERSION=0.3.28 download https://github.com/xianyi/OpenBLAS/archive/v$OPENBLAS_VERSION.tar.gz OpenBLAS-$OPENBLAS_VERSION.tar.gz diff --git a/openblas/platform/pom.xml b/openblas/platform/pom.xml index 717d1b06447..e0f86d9d552 100644 --- a/openblas/platform/pom.xml +++ b/openblas/platform/pom.xml @@ -12,7 +12,7 @@ org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} JavaCPP Presets Platform for OpenBLAS diff --git a/openblas/pom.xml b/openblas/pom.xml index b55be6aa9f7..06009007d13 100644 --- a/openblas/pom.xml +++ b/openblas/pom.xml @@ -11,7 +11,7 @@ org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} JavaCPP Presets for OpenBLAS diff --git a/openblas/samples/pom.xml b/openblas/samples/pom.xml index 86daf521ff5..299473141a5 100644 --- a/openblas/samples/pom.xml +++ b/openblas/samples/pom.xml @@ -12,7 +12,7 @@ org.bytedeco openblas-platform - 0.3.27-1.5.11-SNAPSHOT + 0.3.28-1.5.11-SNAPSHOT diff --git a/openblas/src/gen/java/org/bytedeco/openblas/global/openblas.java b/openblas/src/gen/java/org/bytedeco/openblas/global/openblas.java index 1995755cd93..f5b2b37202a 100644 --- a/openblas/src/gen/java/org/bytedeco/openblas/global/openblas.java +++ b/openblas/src/gen/java/org/bytedeco/openblas/global/openblas.java @@ -46,7 +46,7 @@ public class openblas extends org.bytedeco.openblas.presets.openblas { public static final int OPENBLAS_CLOCAL_BUFFER_SIZE = 65536; public static final int OPENBLAS_ZLOCAL_BUFFER_SIZE = 32768; public static final int OPENBLAS_GEMM_MULTITHREAD_THRESHOLD = 4; -public static final String OPENBLAS_VERSION = " OpenBLAS 0.3.27 "; +public static final String OPENBLAS_VERSION = " OpenBLAS 0.3.28 "; /*This is only for "make install" target.*/ // #if defined(OPENBLAS_OS_WINNT) || defined(OPENBLAS_OS_CYGWIN_NT) || defined(OPENBLAS_OS_INTERIX) @@ -153,6 +153,25 @@ structure as fallback (see Clause 6.2.5.13 of the C99 standard). */ /*Get the CPU corename on runtime.*/ +/*Set the threading backend to a custom callback.*/ +public static class openblas_dojob_callback extends FunctionPointer { + static { Loader.load(); } + /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ + public openblas_dojob_callback(Pointer p) { super(p); } + protected openblas_dojob_callback() { allocate(); } + private native void allocate(); + public native void call(int thread_num, Pointer jobdata, int dojob_data); +} +public static class openblas_threads_callback extends FunctionPointer { + static { Loader.load(); } + /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ + public openblas_threads_callback(Pointer p) { super(p); } + protected openblas_threads_callback() { allocate(); } + private native void allocate(); + public native void call(int sync, openblas_dojob_callback dojob, int numjobs, @Cast("size_t") long jobdata_elsize, Pointer jobdata, int dojob_data); +} + + // #ifdef OPENBLAS_OS_LINUX // #endif @@ -723,6 +742,14 @@ public static native void cblas_zher2k(@Cast("const CBLAS_ORDER") int Order, @Ca + + + + + + + + /*** BFLOAT16 and INT8 extensions ***/ /* convert float array to BFLOAT16 array by rounding */ @@ -738,6 +765,8 @@ public static native void cblas_zher2k(@Cast("const CBLAS_ORDER") int Order, @Ca + + // #ifdef __cplusplus // #endif /* __cplusplus */ @@ -878,6 +907,10 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // #define LAPACK_FORTRAN_STRLEN_END // #endif +// #ifndef FORTRAN_STRLEN +// #define FORTRAN_STRLEN size_t +// #endif + /* Complex types are structures equivalent to the * Fortran complex types COMPLEX(4) and COMPLEX(8). * diff --git a/openblas/src/gen/java/org/bytedeco/openblas/global/openblas_nolapack.java b/openblas/src/gen/java/org/bytedeco/openblas/global/openblas_nolapack.java index 9c507e4a683..513db7fc390 100644 --- a/openblas/src/gen/java/org/bytedeco/openblas/global/openblas_nolapack.java +++ b/openblas/src/gen/java/org/bytedeco/openblas/global/openblas_nolapack.java @@ -45,7 +45,7 @@ public class openblas_nolapack extends org.bytedeco.openblas.presets.openblas_no public static final int OPENBLAS_CLOCAL_BUFFER_SIZE = 65536; public static final int OPENBLAS_ZLOCAL_BUFFER_SIZE = 32768; public static final int OPENBLAS_GEMM_MULTITHREAD_THRESHOLD = 4; -public static final String OPENBLAS_VERSION = " OpenBLAS 0.3.27 "; +public static final String OPENBLAS_VERSION = " OpenBLAS 0.3.28 "; /*This is only for "make install" target.*/ // #if defined(OPENBLAS_OS_WINNT) || defined(OPENBLAS_OS_CYGWIN_NT) || defined(OPENBLAS_OS_INTERIX) @@ -152,6 +152,25 @@ structure as fallback (see Clause 6.2.5.13 of the C99 standard). */ /*Get the CPU corename on runtime.*/ +/*Set the threading backend to a custom callback.*/ +public static class openblas_dojob_callback extends FunctionPointer { + static { Loader.load(); } + /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ + public openblas_dojob_callback(Pointer p) { super(p); } + protected openblas_dojob_callback() { allocate(); } + private native void allocate(); + public native void call(int thread_num, Pointer jobdata, int dojob_data); +} +public static class openblas_threads_callback extends FunctionPointer { + static { Loader.load(); } + /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ + public openblas_threads_callback(Pointer p) { super(p); } + protected openblas_threads_callback() { allocate(); } + private native void allocate(); + public native void call(int sync, openblas_dojob_callback dojob, int numjobs, @Cast("size_t") long jobdata_elsize, Pointer jobdata, int dojob_data); +} + + // #ifdef OPENBLAS_OS_LINUX // #endif @@ -722,6 +741,14 @@ public static native void cblas_zher2k(@Cast("const CBLAS_ORDER") int Order, @Ca + + + + + + + + /*** BFLOAT16 and INT8 extensions ***/ /* convert float array to BFLOAT16 array by rounding */ @@ -737,6 +764,8 @@ public static native void cblas_zher2k(@Cast("const CBLAS_ORDER") int Order, @Ca + + // #ifdef __cplusplus // #endif /* __cplusplus */ diff --git a/openblas/src/main/java/org/bytedeco/openblas/presets/openblas_nolapack.java b/openblas/src/main/java/org/bytedeco/openblas/presets/openblas_nolapack.java index 1a07a556dce..17509e24b78 100644 --- a/openblas/src/main/java/org/bytedeco/openblas/presets/openblas_nolapack.java +++ b/openblas/src/main/java/org/bytedeco/openblas/presets/openblas_nolapack.java @@ -119,7 +119,7 @@ public class openblas_nolapack implements LoadEnabled, InfoMapper { @Override public void map(InfoMap infoMap) { infoMap.put(new Info("lapack.h", "lapacke.h").linePatterns(".*LAPACK_GLOBAL.*").skip()) .put(new Info("OPENBLAS_PTHREAD_CREATE_FUNC", "OPENBLAS_BUNDERSCORE", "OPENBLAS_FUNDERSCORE", "DOUBLE_DEFINED", "xdouble", - "FLOATRET", "OPENBLAS_CONST", "CBLAS_INDEX", "LAPACK_IFMT", "lapack_int", "lapack_logical").cppTypes().annotations()) + "FLOATRET", "OPENBLAS_CONST", "CBLAS_INDEX", "LAPACK_IFMT", "FORTRAN_STRLEN", "lapack_int", "lapack_logical").cppTypes().annotations()) .put(new Info("OPENBLAS_QUAD_PRECISION", "defined OPENBLAS_EXPRECISION", "OPENBLAS_USE64BITINT", "defined(LAPACK_COMPLEX_STRUCTURE)", "defined(LAPACK_COMPLEX_C99)", "OPENBLAS_OS_LINUX").define(false).translate(true)) .put(new Info("((defined(__STDC_IEC_559_COMPLEX__) || __STDC_VERSION__ >= 199901L ||" @@ -132,6 +132,7 @@ public class openblas_nolapack implements LoadEnabled, InfoMapper { // not available in Accelerate "cblas_caxpby", "cblas_daxpby", "cblas_saxpby", "cblas_zaxpby", "cblas_caxpyc", "cblas_zaxpyc", "cblas_sgemmt", "cblas_dgemmt", "cblas_cgemmt", "cblas_zgemmt", + "cblas_cgemm_batch", "cblas_dgemm_batch", "cblas_sgemm_batch", "cblas_zgemm_batch", "cblas_samax", "cblas_damax", "cblas_scamax", "cblas_dzamax", "cblas_samin", "cblas_damin", "cblas_scamin", "cblas_dzamin", // not exported by OpenBLAS @@ -142,8 +143,8 @@ public class openblas_nolapack implements LoadEnabled, InfoMapper { "cblas_csrot", "cblas_zdrot", "cblas_crotg", "cblas_zrotg", // not implemented by MKL "openblas_set_num_threads", "goto_set_num_threads", "openblas_set_num_threads_local", "openblas_get_num_threads", "openblas_get_num_procs", - "openblas_get_config", "openblas_get_corename", "openblas_get_parallel", "cblas_cdotc", "cblas_cdotu", "cblas_cgeadd", - "cblas_cimatcopy", "cblas_comatcopy", "cblas_dgeadd", "cblas_dimatcopy", "cblas_domatcopy", "cblas_sgeadd", + "openblas_get_config", "openblas_get_corename", "openblas_get_parallel", "openblas_set_threads_callback_function", "cblas_cdotc", "cblas_cdotu", + "cblas_cimatcopy", "cblas_comatcopy", "cblas_dimatcopy", "cblas_domatcopy", "cblas_cgeadd", "cblas_dgeadd", "cblas_sgeadd", "cblas_simatcopy", "cblas_somatcopy", "cblas_zdotc", "cblas_zdotu", "cblas_zgeadd", "cblas_zimatcopy", "cblas_zomatcopy", "clacrm", "dlacrm", "slacrm", "zlacrm", "clarcm", "dlarcm", "slarcm", "zlarcm", "classq", "dlassq", "slassq", "zlassq", "cgesvdq", "dgesvdq", "sgesvdq", "zgesvdq", "lapack_make_complex_double", "lapack_make_complex_float", @@ -157,7 +158,7 @@ public class openblas_nolapack implements LoadEnabled, InfoMapper { "cgelsx", "clahrd", "dgegv", "dggsvp", "sgegs", "sggsvd", "stzrqf", "zgeqpf", "zlatzm", "cgeqpf", "clatzm", "dgelsx", "dlahrd", "sgegv", "sggsvp", "zgegs", "zggsvd", "ztzrqf", // extended - "cblas_sbstobf16", "cblas_sbdtobf16", "cblas_sbf16tos", "cblas_dbf16tod", "cblas_sbdot", "cblas_sbgemv", "cblas_sbgemm", + "cblas_sbstobf16", "cblas_sbdtobf16", "cblas_sbf16tos", "cblas_dbf16tod", "cblas_sbdot", "cblas_sbgemv", "cblas_sbgemm", "cblas_sbgemm_batch", "cgbrfsx", "cporfsx", "dgerfsx", "sgbrfsx", "ssyrfsx", "zherfsx", "cgerfsx", "csyrfsx", "dporfsx", "sgerfsx", "zgbrfsx", "zporfsx", "cherfsx", "dgbrfsx", "dsyrfsx", "sporfsx", "zgerfsx", "zsyrfsx", "cgbsvxx", "cposvxx", "dgesvxx", "sgbsvxx", "ssysvxx", "zhesvxx", "cgesvxx", "csysvxx", "dposvxx", "sgesvxx", "zgbsvxx", "zposvxx", "chesvxx", "dgbsvxx", "dsysvxx", "sposvxx", "zgesvxx", "zsysvxx"}; diff --git a/opencl/README.md b/opencl/README.md index 43f7b654a2d..51251ccc12b 100644 --- a/opencl/README.md +++ b/opencl/README.md @@ -9,7 +9,7 @@ Introduction ------------ This directory contains the JavaCPP Presets module for: - * OpenCL 3.0.15 https://www.khronos.org/registry/OpenCL/ + * OpenCL 3.0.16 https://www.khronos.org/registry/OpenCL/ Please refer to the parent README.md file for more detailed information about the JavaCPP Presets. diff --git a/opencl/cppbuild.sh b/opencl/cppbuild.sh index db63e21e408..1ae079c57b9 100755 --- a/opencl/cppbuild.sh +++ b/opencl/cppbuild.sh @@ -7,8 +7,8 @@ if [[ -z "$PLATFORM" ]]; then exit fi -OPENCL_VERSION=2023.12.14 -CLHPP_VERSION=2023.12.14 +OPENCL_VERSION=2024.05.08 +CLHPP_VERSION=2024.05.08 download https://github.com/KhronosGroup/OpenCL-Headers/archive/v$OPENCL_VERSION.tar.gz OpenCL-Headers-$OPENCL_VERSION.tar.gz download https://github.com/KhronosGroup/OpenCL-ICD-Loader/archive/v$OPENCL_VERSION.tar.gz OpenCL-ICD-Loader-$OPENCL_VERSION.tar.gz download https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v$CLHPP_VERSION.tar.gz OpenCL-CLHPP-$CLHPP_VERSION.tar.gz diff --git a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_free_func__cl_command_queue_int_PointerPointer_Pointer.java b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_free_func__cl_command_queue_int_PointerPointer_Pointer.java index 0156b7b3e28..b131c7e7f35 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_free_func__cl_command_queue_int_PointerPointer_Pointer.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_free_func__cl_command_queue_int_PointerPointer_Pointer.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_free_func__cl_command_queue_int_Pointer_Pointer.java b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_free_func__cl_command_queue_int_Pointer_Pointer.java index 81575ff5f4a..e5cba17bcbc 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_free_func__cl_command_queue_int_Pointer_Pointer.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_free_func__cl_command_queue_int_Pointer_Pointer.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify_BytePointer_Pointer_long_Pointer.java b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify_BytePointer_Pointer_long_Pointer.java index c2bbc96aec1..833578c9c27 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify_BytePointer_Pointer_long_Pointer.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify_BytePointer_Pointer_long_Pointer.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify_String_Pointer_long_Pointer.java b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify_String_Pointer_long_Pointer.java index a712a7df5c8..a3b590ab535 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify_String_Pointer_long_Pointer.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify_String_Pointer_long_Pointer.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_context_Pointer.java b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_context_Pointer.java index fa4c899685f..9fe4b178072 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_context_Pointer.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_context_Pointer.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_event_int_Pointer.java b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_event_int_Pointer.java index 065be39ab0c..a51169230d9 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_event_int_Pointer.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_event_int_Pointer.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_mem_Pointer.java b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_mem_Pointer.java index c25c9771980..aac8cff4253 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_mem_Pointer.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_mem_Pointer.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_program_Pointer.java b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_program_Pointer.java index 5fc9ffa0bf3..764de8f8384 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_program_Pointer.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/Pfn_notify__cl_program_Pointer.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/User_func_Pointer.java b/opencl/src/gen/java/org/bytedeco/opencl/User_func_Pointer.java index 2b7a6318e0d..b2611b38ef5 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/User_func_Pointer.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/User_func_Pointer.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/_cl_command_queue.java b/opencl/src/gen/java/org/bytedeco/opencl/_cl_command_queue.java index dfa9543f9b0..d8918f76b52 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/_cl_command_queue.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/_cl_command_queue.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/_cl_context.java b/opencl/src/gen/java/org/bytedeco/opencl/_cl_context.java index 23c17ba63ea..f7b61d0a063 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/_cl_context.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/_cl_context.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/_cl_device_id.java b/opencl/src/gen/java/org/bytedeco/opencl/_cl_device_id.java index 969afe47812..3aea04b8b14 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/_cl_device_id.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/_cl_device_id.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/_cl_event.java b/opencl/src/gen/java/org/bytedeco/opencl/_cl_event.java index 7558a81a893..4a600dc85b3 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/_cl_event.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/_cl_event.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/_cl_kernel.java b/opencl/src/gen/java/org/bytedeco/opencl/_cl_kernel.java index d255215e226..4e83310d3b4 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/_cl_kernel.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/_cl_kernel.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/_cl_mem.java b/opencl/src/gen/java/org/bytedeco/opencl/_cl_mem.java index e180803e22c..7d9878b556b 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/_cl_mem.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/_cl_mem.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/_cl_platform_id.java b/opencl/src/gen/java/org/bytedeco/opencl/_cl_platform_id.java index d3766a54306..cffcf360938 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/_cl_platform_id.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/_cl_platform_id.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/_cl_program.java b/opencl/src/gen/java/org/bytedeco/opencl/_cl_program.java index 0fdd5df9258..2f6e63bd0f7 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/_cl_program.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/_cl_program.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/_cl_sampler.java b/opencl/src/gen/java/org/bytedeco/opencl/_cl_sampler.java index 13a566d0346..5a7f0f41eaf 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/_cl_sampler.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/_cl_sampler.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_buffer_region.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_buffer_region.java index f1ab0443a3c..074e82f6c7e 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_buffer_region.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_buffer_region.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_char16.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_char16.java index e362689cb9e..ed6e63e13d9 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_char16.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_char16.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_char2.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_char2.java index 05a07463048..6515f3f9552 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_char2.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_char2.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_char4.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_char4.java index 24d53081a96..bea63dc5dac 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_char4.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_char4.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_char8.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_char8.java index 7351478cb90..7c019147bd3 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_char8.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_char8.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_double16.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_double16.java index 2092b2cc593..e980c945082 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_double16.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_double16.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_double2.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_double2.java index 4dc984697bb..ae0a14a175e 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_double2.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_double2.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_double4.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_double4.java index 567a76f3c98..c10eda2223d 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_double4.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_double4.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_double8.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_double8.java index 76b7a994729..29a92b148a6 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_double8.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_double8.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_float16.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_float16.java index 87df7535b4b..41bfa617ddd 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_float16.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_float16.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_float2.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_float2.java index 97a41f0da5d..3b004ccd2dd 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_float2.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_float2.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_float4.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_float4.java index e0b7c8749db..a6e44a55ef6 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_float4.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_float4.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_float8.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_float8.java index a34d73104eb..b98642239f8 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_float8.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_float8.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_half16.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_half16.java index d4dff78f10d..57afb6a24b0 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_half16.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_half16.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_half2.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_half2.java index 39e49cdb316..4b64928dbac 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_half2.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_half2.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_half4.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_half4.java index 0d3aa50873e..94e1022dc7c 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_half4.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_half4.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_half8.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_half8.java index ce23181032d..e157d034ed6 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_half8.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_half8.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_image_desc.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_image_desc.java index fd63b14784e..2e2870622e2 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_image_desc.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_image_desc.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_image_format.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_image_format.java index eca38e731d0..16f5ccae8ce 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_image_format.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_image_format.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_int16.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_int16.java index d1908df692c..a5e4155f832 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_int16.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_int16.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_int2.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_int2.java index e0b1d4a5531..9b18e76bd55 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_int2.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_int2.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_int4.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_int4.java index c2b4901aec3..2a3e6a04ca7 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_int4.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_int4.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_int8.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_int8.java index 93eac089e2a..3438f8024f3 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_int8.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_int8.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_long16.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_long16.java index 02ab398ab67..c2d33a95fa7 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_long16.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_long16.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_long2.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_long2.java index 3f85b7bf09a..876bc8926b7 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_long2.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_long2.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_long4.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_long4.java index 57e10355bbf..ad650d5b2e4 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_long4.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_long4.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_long8.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_long8.java index 0f52092763a..befa9b42120 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_long8.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_long8.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_name_version.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_name_version.java index dca5ddba916..79baba7e355 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_name_version.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_name_version.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_short16.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_short16.java index f1600171dac..4b8743b92ad 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_short16.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_short16.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_short2.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_short2.java index f0faf476e5a..bc44775acaa 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_short2.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_short2.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_short4.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_short4.java index 9672bb8397d..dc08b7504ef 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_short4.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_short4.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_short8.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_short8.java index 24b06a23948..2a0a1137b89 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_short8.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_short8.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar16.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar16.java index 1ccf4911e68..955e33a7844 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar16.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar16.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar2.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar2.java index d02a5d38b30..4f0b23de880 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar2.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar2.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar4.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar4.java index 162d8bbedc8..568f687c5a6 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar4.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar4.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar8.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar8.java index ddd5d138aad..191ef2e0eba 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar8.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_uchar8.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_uint16.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_uint16.java index 40f71436438..54e7441eaaa 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_uint16.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_uint16.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_uint2.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_uint2.java index b14f4f5b1ea..fda92e766e8 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_uint2.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_uint2.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_uint4.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_uint4.java index 7fe7f3260d8..97198a546b1 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_uint4.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_uint4.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_uint8.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_uint8.java index 2878d2087ec..fd96a46a6ed 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_uint8.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_uint8.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong16.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong16.java index e0ad2d26d7e..6278344286f 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong16.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong16.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong2.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong2.java index 32baa293bff..c00fa0cf1bf 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong2.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong2.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong4.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong4.java index 94724d5b686..07271ab5860 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong4.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong4.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong8.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong8.java index c331b0a3ab8..5dc6d03e365 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong8.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_ulong8.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort16.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort16.java index d24fedfc7b0..3650c033540 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort16.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort16.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort2.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort2.java index d99fbc46872..eb6c0cff6d5 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort2.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort2.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort4.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort4.java index 110ba6dd7cd..c8327fca9e9 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort4.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort4.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort8.java b/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort8.java index 743bae602e6..d45a78471fc 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort8.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/cl_ushort8.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl; diff --git a/opencl/src/gen/java/org/bytedeco/opencl/global/OpenCL.java b/opencl/src/gen/java/org/bytedeco/opencl/global/OpenCL.java index f9694bae36a..54e456a16cc 100644 --- a/opencl/src/gen/java/org/bytedeco/opencl/global/OpenCL.java +++ b/opencl/src/gen/java/org/bytedeco/opencl/global/OpenCL.java @@ -1,4 +1,4 @@ -// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE +// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencl.global; diff --git a/opencv/README.md b/opencv/README.md index 6ef3392efa8..85825d7b78d 100644 --- a/opencv/README.md +++ b/opencv/README.md @@ -77,7 +77,7 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic org.bytedeco numpy-platform - 2.0.0-1.5.11-SNAPSHOT + 2.0.1-1.5.11-SNAPSHOT diff --git a/opencv/platform/gpu/pom.xml b/opencv/platform/gpu/pom.xml index 6c241bfdeda..f871fdf6513 100644 --- a/opencv/platform/gpu/pom.xml +++ b/opencv/platform/gpu/pom.xml @@ -24,7 +24,7 @@ org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} ${project.groupId} diff --git a/opencv/platform/pom.xml b/opencv/platform/pom.xml index a5566975717..084f44076a0 100644 --- a/opencv/platform/pom.xml +++ b/opencv/platform/pom.xml @@ -23,7 +23,7 @@ org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} ${project.groupId} diff --git a/opencv/pom.xml b/opencv/pom.xml index bdf74bbe2b3..f5217eb41f4 100644 --- a/opencv/pom.xml +++ b/opencv/pom.xml @@ -18,12 +18,12 @@ org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco numpy - 2.0.0-${project.parent.version} + 2.0.1-${project.parent.version} true @@ -62,12 +62,12 @@ org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco numpy-platform - 2.0.0-${project.parent.version} + 2.0.1-${project.parent.version} diff --git a/opencv/samples/pom.xml b/opencv/samples/pom.xml index 27879e83205..4db79f069bc 100644 --- a/opencv/samples/pom.xml +++ b/opencv/samples/pom.xml @@ -40,7 +40,7 @@ org.bytedeco numpy-platform - 2.0.0-1.5.11-SNAPSHOT + 2.0.1-1.5.11-SNAPSHOT diff --git a/platform/pom.xml b/platform/pom.xml index 9cd3265a2a4..eab98618555 100644 --- a/platform/pom.xml +++ b/platform/pom.xml @@ -182,12 +182,12 @@ org.bytedeco dnnl-platform - 3.4.1-${project.version} + 3.5.3-${project.version} org.bytedeco openblas-platform - 0.3.27-${project.version} + 0.3.28-${project.version} org.bytedeco @@ -212,12 +212,12 @@ org.bytedeco cpython-platform - 3.12.4-${project.version} + 3.12.5-${project.version} org.bytedeco numpy-platform - 2.0.0-${project.version} + 2.0.1-${project.version} org.bytedeco @@ -232,7 +232,7 @@ org.bytedeco llvm-platform - 18.1.4-${project.version} + 18.1.8-${project.version} org.bytedeco @@ -332,7 +332,7 @@ org.bytedeco onnx-platform - 1.16.1-${project.version} + 1.16.2-${project.version} @@ -342,12 +342,12 @@ org.bytedeco onnxruntime-platform - 1.18.0-${project.version} + 1.18.1-${project.version} org.bytedeco tvm-platform - 0.16.0-${project.version} + 0.17.0-${project.version} org.bytedeco diff --git a/pytorch/platform/gpu/pom.xml b/pytorch/platform/gpu/pom.xml index d648cb65262..ccb0515edc5 100644 --- a/pytorch/platform/gpu/pom.xml +++ b/pytorch/platform/gpu/pom.xml @@ -29,7 +29,7 @@ org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} ${project.groupId} diff --git a/pytorch/platform/pom.xml b/pytorch/platform/pom.xml index ee51db3b7af..7ebc0809dc6 100644 --- a/pytorch/platform/pom.xml +++ b/pytorch/platform/pom.xml @@ -28,7 +28,7 @@ org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} ${project.groupId} diff --git a/pytorch/pom.xml b/pytorch/pom.xml index 9ccf181e047..8f722424484 100644 --- a/pytorch/pom.xml +++ b/pytorch/pom.xml @@ -22,7 +22,7 @@ org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} @@ -41,17 +41,17 @@ org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco numpy-platform - 2.0.0-${project.parent.version} + 2.0.1-${project.parent.version} org.bytedeco cpython - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} ${os.name}-${os.arch} diff --git a/scipy/cppbuild.sh b/scipy/cppbuild.sh index fc559df6b5e..3be8de5f103 100755 --- a/scipy/cppbuild.sh +++ b/scipy/cppbuild.sh @@ -8,7 +8,7 @@ if [[ -z "$PLATFORM" ]]; then fi BOOST=1_75_0 -SCIPY_VERSION=1.14.0rc2 +SCIPY_VERSION=1.14.0 download http://downloads.sourceforge.net/project/boost/boost/${BOOST//_/.}/boost_$BOOST.tar.gz boost_$BOOST.tar.gz download https://github.com/data-apis/array-api-compat/archive/fd22a73.tar.gz array-api-compat-fd22a73.tar.gz download https://github.com/cobyqa/cobyqa/archive/7f40b6d.tar.gz cobyqa-7f40b6d.tar.gz @@ -124,7 +124,7 @@ if ! $PYTHON_BIN_PATH -m pip install --no-deps --target=$PYTHON_LIB_PATH $TOOLS; echo "extra_link_args = -lgfortran" >> site.cfg chmod +x "$CPYTHON_HOST_PATH/bin/python3.12" export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$CPYTHON_HOST_PATH/lib/:$CPYTHON_HOST_PATH" - "$CPYTHON_HOST_PATH/bin/python3.12" -m pip install --no-deps --target="$CPYTHON_HOST_PATH/lib/python3.12/" crossenv==1.4 numpy==2.0.0 $TOOLS + "$CPYTHON_HOST_PATH/bin/python3.12" -m pip install --no-deps --target="$CPYTHON_HOST_PATH/lib/python3.12/" crossenv==1.4 numpy==2.0.1 $TOOLS "$CPYTHON_HOST_PATH/bin/python3.12" -m crossenv "$PYTHON_BIN_PATH" crossenv cp -a "$NUMPY_PATH/python/numpy" "$CPYTHON_HOST_PATH/lib/python3.12/" # cp -a "$CPYTHON_HOST_PATH/lib/python3.12/include" "$PYTHON_LIB_PATH" diff --git a/scipy/platform/pom.xml b/scipy/platform/pom.xml index 1ec945be987..ddab59b55bd 100644 --- a/scipy/platform/pom.xml +++ b/scipy/platform/pom.xml @@ -23,7 +23,7 @@ org.bytedeco numpy-platform - 2.0.0-${project.parent.version} + 2.0.1-${project.parent.version} ${project.groupId} diff --git a/scipy/pom.xml b/scipy/pom.xml index 8cf7e239686..2bac08dd478 100644 --- a/scipy/pom.xml +++ b/scipy/pom.xml @@ -18,7 +18,7 @@ org.bytedeco numpy - 2.0.0-${project.parent.version} + 2.0.1-${project.parent.version} org.bytedeco @@ -41,24 +41,24 @@ org.bytedeco numpy - 2.0.0-${project.parent.version} + 2.0.1-${project.parent.version} org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} ${javacpp.platform} org.bytedeco cpython - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} ${javacpp.platform} org.bytedeco numpy - 2.0.0-${project.parent.version} + 2.0.1-${project.parent.version} ${javacpp.platform} @@ -177,7 +177,7 @@ org.bytedeco cpython - 3.12.4-${project.parent.version} + 3.12.5-${project.parent.version} ${os.name}-${os.arch} diff --git a/tvm/README.md b/tvm/README.md index 2dd112e069c..b61bdae5790 100644 --- a/tvm/README.md +++ b/tvm/README.md @@ -9,7 +9,7 @@ Introduction ------------ This directory contains the JavaCPP Presets module for: - * TVM 0.16.0 http://tvm.apache.org/ + * TVM 0.17.0 http://tvm.apache.org/ Please refer to the parent README.md file for more detailed information about the JavaCPP Presets. @@ -49,14 +49,14 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic org.bytedeco tvm-platform - 0.16.0-1.5.11-SNAPSHOT + 0.17.0-1.5.11-SNAPSHOT org.bytedeco tvm-platform-gpu - 0.16.0-1.5.11-SNAPSHOT + 0.17.0-1.5.11-SNAPSHOT diff --git a/tvm/cppbuild.sh b/tvm/cppbuild.sh index 3c7c234ed1b..13946455123 100755 --- a/tvm/cppbuild.sh +++ b/tvm/cppbuild.sh @@ -15,7 +15,7 @@ if [[ "$EXTENSION" == *gpu ]]; then GPU_FLAGS="-DUSE_CUDA=ON -DUSE_CUDNN=ON -DUSE_CUBLAS=ON" fi -TVM_VERSION=0.16.0 +TVM_VERSION=0.17.0 mkdir -p "$PLATFORM$EXTENSION" cd "$PLATFORM$EXTENSION" diff --git a/tvm/platform/gpu/pom.xml b/tvm/platform/gpu/pom.xml index f1188ef303d..d6cfbeee657 100644 --- a/tvm/platform/gpu/pom.xml +++ b/tvm/platform/gpu/pom.xml @@ -12,7 +12,7 @@ org.bytedeco tvm-platform-gpu - 0.16.0-${project.parent.version} + 0.17.0-${project.parent.version} JavaCPP Presets Platform GPU for TVM @@ -29,12 +29,12 @@ org.bytedeco llvm-platform - 18.1.4-${project.parent.version} + 18.1.8-${project.parent.version} org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco diff --git a/tvm/platform/pom.xml b/tvm/platform/pom.xml index adbd2e36955..80cc7f280be 100644 --- a/tvm/platform/pom.xml +++ b/tvm/platform/pom.xml @@ -12,7 +12,7 @@ org.bytedeco tvm-platform - 0.16.0-${project.parent.version} + 0.17.0-${project.parent.version} JavaCPP Presets Platform for TVM @@ -28,12 +28,12 @@ org.bytedeco llvm-platform - 18.1.4-${project.parent.version} + 18.1.8-${project.parent.version} org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco diff --git a/tvm/pom.xml b/tvm/pom.xml index 2f0e59a7b0b..e6b87ac40ac 100644 --- a/tvm/pom.xml +++ b/tvm/pom.xml @@ -11,7 +11,7 @@ org.bytedeco tvm - 0.16.0-${project.parent.version} + 0.17.0-${project.parent.version} JavaCPP Presets for TVM @@ -23,12 +23,12 @@ org.bytedeco llvm - 18.1.4-${project.parent.version} + 18.1.8-${project.parent.version} org.bytedeco openblas - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco @@ -61,12 +61,12 @@ org.bytedeco llvm-platform - 18.1.4-${project.parent.version} + 18.1.8-${project.parent.version} org.bytedeco openblas-platform - 0.3.27-${project.parent.version} + 0.3.28-${project.parent.version} org.bytedeco diff --git a/tvm/samples/pom.xml b/tvm/samples/pom.xml index 49c1680c171..075cf16e2c5 100644 --- a/tvm/samples/pom.xml +++ b/tvm/samples/pom.xml @@ -12,14 +12,14 @@ org.bytedeco tvm-platform - 0.16.0-1.5.11-SNAPSHOT + 0.17.0-1.5.11-SNAPSHOT org.bytedeco tvm-platform-gpu - 0.16.0-1.5.11-SNAPSHOT + 0.17.0-1.5.11-SNAPSHOT diff --git a/tvm/src/gen/java/org/bytedeco/tvm/DataType.java b/tvm/src/gen/java/org/bytedeco/tvm/DataType.java index 356d0afccf7..d1a6c5b90f6 100644 --- a/tvm/src/gen/java/org/bytedeco/tvm/DataType.java +++ b/tvm/src/gen/java/org/bytedeco/tvm/DataType.java @@ -105,6 +105,9 @@ public enum TypeCode { public native @Cast("bool") boolean is_float(); /** @return whether type is a float8 type. */ public native @Cast("bool") boolean is_float8(); + public native @Cast("bool") boolean is_e4m3_float8(); + + public native @Cast("bool") boolean is_e5m2_float8(); /** @return whether type is a float16 type. */ public native @Cast("bool") boolean is_float16(); /** @return whether type is a bfloat16 type. */ diff --git a/tvm/src/gen/java/org/bytedeco/tvm/InputSplit.java b/tvm/src/gen/java/org/bytedeco/tvm/InputSplit.java index c1a049b5910..21eb5921676 100644 --- a/tvm/src/gen/java/org/bytedeco/tvm/InputSplit.java +++ b/tvm/src/gen/java/org/bytedeco/tvm/InputSplit.java @@ -62,9 +62,8 @@ public static class Blob extends Pointer { * this is a hint so may not be enforced, * but InputSplit will try adjust its internal buffer * size to the hinted value - * @param chunk_size the chunk size */ - public native void HintChunkSize(@Cast("size_t") long chunk_size); + public native void HintChunkSize(@Cast("size_t") long arg0); /** \brief get the total size of the InputSplit */ public native @Cast("size_t") long GetTotalSize(); /** \brief reset the position of InputSplit to beginning */ @@ -116,13 +115,12 @@ public static class Blob extends Pointer { * * * @param out_chunk used to store the result - * @param n_records used as a hint for how many records should be returned, may be ignored * @return true if we can successfully get next record * false if we reached end of split * @see InputSplit::Create for definition of record * @see RecordIOChunkReader to parse recordio content from out_chunk */ - public native @Cast("bool") boolean NextBatch(Blob out_chunk, @Cast("size_t") long n_records); + public native @Cast("bool") boolean NextBatch(Blob out_chunk, @Cast("size_t") long arg1); /** \brief destructor*/ /** * \brief reset the Input split to a certain part id, diff --git a/tvm/src/gen/java/org/bytedeco/tvm/NDArray.java b/tvm/src/gen/java/org/bytedeco/tvm/NDArray.java index de38ef7d11d..0b7146f7c36 100644 --- a/tvm/src/gen/java/org/bytedeco/tvm/NDArray.java +++ b/tvm/src/gen/java/org/bytedeco/tvm/NDArray.java @@ -127,13 +127,30 @@ public class NDArray extends ObjectRef { * @param stream The output data stream */ public native void Save(Stream stream); + /** * \brief Create a NDArray that shares the data memory with the current one. + * * @param shape The shape of the new array. + * * @param dtype The data type of the new array. - * \note The memory size of new array must be smaller than the current one. - */ + * + * @param relative_byte_offset The offset of the output NDArray, + * relative to the current byte offset. + * + * By default, the offset of the view is the same as the offset + * of the current array. + * + * \note The new array must not allow access of addresses which + * would be out of bounds in the current array. If the new + * array is larger than the current array, or if the + * {@code relative_byte_offset} would place the end of the new array + * outside the bounds of the current array, this function will + * raise an exception. + */ + public native @ByVal NDArray CreateView(@ByVal ShapeTuple shape, @ByVal DLDataType dtype, @Cast("uint64_t") long relative_byte_offset/*=0*/); public native @ByVal NDArray CreateView(@ByVal ShapeTuple shape, @ByVal DLDataType dtype); + /** * \brief Create a reference view of NDArray that * represents as DLManagedTensor. diff --git a/tvm/src/gen/java/org/bytedeco/tvm/Stream.java b/tvm/src/gen/java/org/bytedeco/tvm/Stream.java index 23616a3df42..66bd2e360e6 100644 --- a/tvm/src/gen/java/org/bytedeco/tvm/Stream.java +++ b/tvm/src/gen/java/org/bytedeco/tvm/Stream.java @@ -31,16 +31,17 @@ public class Stream extends Pointer { /** * \brief reads data from a stream * @param ptr pointer to a memory buffer - * @param size block size - * @return the size of data read + * @param size The maximum number of bytes to read + * @return The number of bytes read from the stream */ public native @Cast("size_t") long Read(Pointer ptr, @Cast("size_t") long size); /** * \brief writes data to a stream * @param ptr pointer to a memory buffer - * @param size block size + * @param size The maximum number of bytes to write + * @return The number of bytes written */ - public native void Write(@Const Pointer ptr, @Cast("size_t") long size); + public native @Cast("size_t") long Write(@Const Pointer ptr, @Cast("size_t") long size); /** \brief virtual destructor */ /** * \brief generic factory function diff --git a/tvm/src/gen/java/org/bytedeco/tvm/global/tvm_runtime.java b/tvm/src/gen/java/org/bytedeco/tvm/global/tvm_runtime.java index 2a2ca5c8168..59d7e55faed 100644 --- a/tvm/src/gen/java/org/bytedeco/tvm/global/tvm_runtime.java +++ b/tvm/src/gen/java/org/bytedeco/tvm/global/tvm_runtime.java @@ -902,7 +902,7 @@ public class tvm_runtime extends org.bytedeco.tvm.presets.tvm_runtime { // #endif // TVM version -public static final String TVM_VERSION = "0.16.0"; +public static final String TVM_VERSION = "0.17.0"; // TVM Runtime is DLPack compatible. // #include @@ -1952,6 +1952,10 @@ public static native int TVMObjectDerivedFrom(@Cast("uint32_t") int child_type_i * } */ // #define TVM_DEFINE_OBJECT_REF_COW_METHOD(ObjectName) +// static_assert(ObjectName::_type_final, +// "TVM's CopyOnWrite may only be used for " +// "Object types that are declared as final, " +// "using the TVM_DECLARE_FINAL_OBJECT_INFO macro."); // ObjectName* CopyOnWrite() { // ICHECK(data_ != nullptr); // if (!data_.nique()) { @@ -2775,6 +2779,14 @@ public static native int TVMObjectDerivedFrom(@Cast("uint32_t") int child_type_i +/** + * \brief Get the preferred host device from the input device. + * - For CUDA and ROCm, CUDAHost and ROCMHost will be returned for pinned memory, + * since pinned memory reduces copy overhead. + * - For other devices, CPU is returned as a fallback. + */ +@Namespace("tvm::runtime") public static native @ByVal @Cast("tvm::Device*") DLDevice GetPreferredHostDevice(@ByVal @Cast("tvm::Device*") DLDevice device); + // namespace runtime // namespace tvm // namespace std