* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘ggmlR’ ...
** this is package ‘ggmlR’ version ‘0.6.1’
** package ‘ggmlR’ successfully unpacked and MD5 sums checked
** using staged installation
Checking for Vulkan support...
Note: Vulkan GPU support not enabled (optional dependencies not found).
To enable Vulkan acceleration, install:
Ubuntu/Debian: sudo apt install libvulkan-dev glslc
Other systems: https://vulkan.lunarg.com/sdk/home
Building CPU-only version.
SIMD: disabled (default). Use --with-simd to enable.
Checking OpenMP support...
OpenMP C flags: -fopenmp
OpenMP C++ flags: -fopenmp
Detecting CPU architecture...
x86 architecture detected, using native arch/x86/ implementations
Generating src/Makevars...
Configuration complete.
Vulkan: disabled
SIMD: disabled
** libs
using C compiler: ‘gcc-14 (Debian 14.3.0-12) 14.3.0’
using C++ compiler: ‘g++-14 (Debian 14.3.0-12) 14.3.0’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpq0dMHA/R.INSTALL1a224c555f38c1/ggmlR/src'
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c r_interface.c -o r_interface.o
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c r_interface_graph.c -o r_interface_graph.o
In file included from r_interface_graph.c:9:
ggml-impl.h:294:15: warning: ‘ggml_hash_find_or_insert’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:273:15: warning: ‘ggml_hash_insert’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:199:15: warning: ‘ggml_bitset_size’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘ggml_set_op_params_f32’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘ggml_set_op_params_i32’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘ggml_get_op_params_i32’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘ggml_set_op_params’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘ggml_op_is_empty’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c r_interface_vulkan.c -o r_interface_vulkan.o
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c r_interface_scheduler.c -o r_interface_scheduler.o
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c r_interface_opt.c -o r_interface_opt.o
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c r_interface_backend.c -o r_interface_backend.o
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c r_interface_quants.c -o r_interface_quants.o
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c r_ggml_io.c -o r_ggml_io.o
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c ggml.c -o ggml.o
ggml.c:6154:13: warning: ‘ggml_hash_map_free’ defined but not used [-Wunused-function]
6154 | static void ggml_hash_map_free(struct hash_map * map) {
| ^~~~~~~~~~~~~~~~~~
ggml.c:6147:26: warning: ‘ggml_new_hash_map’ defined but not used [-Wunused-function]
6147 | static struct hash_map * ggml_new_hash_map(size_t size) {
| ^~~~~~~~~~~~~~~~~
In file included from ggml.c:5:
ggml-impl.h:294:15: warning: ‘ggml_hash_find_or_insert’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘ggml_op_is_empty’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c ggml-alloc.c -o ggml-alloc.o
ggml-alloc.c:109:13: warning: ‘ggml_buffer_address_less’ defined but not used [-Wunused-function]
109 | static bool ggml_buffer_address_less(struct buffer_address a, struct buffer_address b) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ggml-alloc.c:4:
ggml-impl.h:273:15: warning: ‘ggml_hash_insert’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:199:15: warning: ‘ggml_bitset_size’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘ggml_set_op_params_f32’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘ggml_set_op_params_i32’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘ggml_get_op_params_i32’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘ggml_set_op_params’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘ggml_op_is_empty’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c ggml-quants.c -o ggml-quants.o
ggml-quants.c:4068:12: warning: ‘iq1_find_best_neighbour’ defined but not used [-Wunused-function]
4068 | static int iq1_find_best_neighbour(const uint16_t * GGML_RESTRICT neighbours, const uint64_t * GGML_RESTRICT grid,
| ^~~~~~~~~~~~~~~~~~~~~~~
ggml-quants.c:579:14: warning: ‘make_qkx1_quants’ defined but not used [-Wunused-function]
579 | static float make_qkx1_quants(int n, int nmax, const float * GGML_RESTRICT x, uint8_t * GGML_RESTRICT L, float * GGML_RESTRICT the_min,
| ^~~~~~~~~~~~~~~~
In file included from ggml-quants.c:5:
ggml-impl.h:294:15: warning: ‘ggml_hash_find_or_insert’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:273:15: warning: ‘ggml_hash_insert’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:199:15: warning: ‘ggml_bitset_size’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘ggml_set_op_params_f32’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘ggml_set_op_params_i32’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘ggml_get_op_params_i32’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘ggml_set_op_params’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘ggml_op_is_empty’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-opt.cpp -o ggml-opt.o
In file included from ggml-opt.cpp:6:
ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c gguf.cpp -o gguf.o
In file included from gguf.cpp:3:
ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-backend.cpp -o ggml-backend.o
In file included from ggml-backend.cpp:14:
ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-backend-reg.cpp -o ggml-backend-reg.o
In file included from ggml-backend-reg.cpp:3:
ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-threading.cpp -o ggml-threading.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-cpu/traits.cpp -o ggml-cpu/traits.o
In file included from ggml-cpu/ggml-cpu-impl.h:6,
from ggml-cpu/traits.h:3,
from ggml-cpu/traits.cpp:1:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c ggml-cpu/ggml-cpu-backend.c -o ggml-cpu/ggml-cpu-backend.o
ggml-cpu/ggml-cpu-backend.c:2423:21: warning: ‘ggml_graph_compute_secondary_thread’ declared ‘static’ but never defined [-Wunused-function]
2423 | static thread_ret_t ggml_graph_compute_secondary_thread(void* data);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggml-cpu/ggml-cpu-backend.c:717:13: warning: ‘ggml_init_riscv_arch_features’ defined but not used [-Wunused-function]
717 | static void ggml_init_riscv_arch_features(void) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ggml-cpu/ggml-cpu-impl.h:6,
from ggml-cpu/traits.h:3,
from ggml-cpu/ggml-cpu-backend.c:6:
./ggml-impl.h:294:15: warning: ‘ggml_hash_find_or_insert’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘ggml_hash_insert’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘ggml_bitset_size’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘ggml_set_op_params_f32’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘ggml_set_op_params_i32’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘ggml_set_op_params’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-cpu/ggml-cpu.cpp -o ggml-cpu/ggml-cpu.o
In file included from ggml-cpu/ggml-cpu-impl.h:6,
from ggml-cpu/traits.h:3,
from ggml-cpu/repack.h:6,
from ggml-cpu/ggml-cpu.cpp:4:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-cpu/ops.cpp -o ggml-cpu/ops.o
In file included from ggml-cpu/ops.cpp:4:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-cpu/vec.cpp -o ggml-cpu/vec.o
In file included from ggml-cpu/vec.h:5,
from ggml-cpu/vec.cpp:1:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-cpu/binary-ops.cpp -o ggml-cpu/binary-ops.o
In file included from ggml-cpu/ggml-cpu-impl.h:6,
from ggml-cpu/traits.h:3,
from ggml-cpu/common.h:4,
from ggml-cpu/binary-ops.h:3,
from ggml-cpu/binary-ops.cpp:1:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-cpu/unary-ops.cpp -o ggml-cpu/unary-ops.o
In file included from ggml-cpu/ggml-cpu-impl.h:6,
from ggml-cpu/traits.h:3,
from ggml-cpu/common.h:4,
from ggml-cpu/unary-ops.h:3,
from ggml-cpu/unary-ops.cpp:1:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-cpu/repack.cpp -o ggml-cpu/repack.o
In file included from ggml-cpu/repack.cpp:6:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c ggml-cpu/quants.c -o ggml-cpu/quants.o
In file included from ggml-cpu/ggml-cpu-impl.h:6,
from ggml-cpu/quants.c:4:
./ggml-impl.h:294:15: warning: ‘ggml_hash_find_or_insert’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘ggml_hash_insert’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘ggml_bitset_size’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘ggml_set_op_params_f32’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘ggml_set_op_params_i32’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘ggml_get_op_params_i32’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘ggml_set_op_params’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘ggml_op_is_empty’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-cpu/hbm.cpp -o ggml-cpu/hbm.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-cpu/arch/x86/cpu-feats.cpp -o ggml-cpu/arch/x86/cpu-feats.o
ggml-cpu/arch/x86/cpu-feats.cpp:263:12: warning: ‘int ggml_backend_cpu_x86_score()’ defined but not used [-Wunused-function]
263 | static int ggml_backend_cpu_x86_score() {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c ggml-cpu/arch/x86/quants.c -o ggml-cpu/arch/x86/quants.o
In file included from ggml-cpu/arch/x86/quants.c:4:
./ggml-impl.h:294:15: warning: ‘ggml_hash_find_or_insert’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘ggml_hash_insert’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘ggml_bitset_size’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘ggml_set_op_params_f32’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘ggml_set_op_params_i32’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘ggml_get_op_params_i32’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘ggml_set_op_params’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘ggml_op_is_empty’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c ggml-cpu/arch/x86/repack.cpp -o ggml-cpu/arch/x86/repack.o
In file included from ggml-cpu/arch/x86/repack.cpp:6:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
199 | static size_t ggml_bitset_size(size_t n) {
| ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
| ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
| ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
88 | static bool ggml_op_is_empty(enum ggml_op op) {
| ^~~~~~~~~~~~~~~~
mkdir -p ../inst/lib
ar rcs ../inst/lib/libggml.a r_ggml_io.o ggml.o ggml-alloc.o ggml-quants.o ggml-opt.o gguf.o ggml-backend.o ggml-backend-reg.o ggml-threading.o ggml-cpu/traits.o ggml-cpu/ggml-cpu-backend.o ggml-cpu/ggml-cpu.o ggml-cpu/ops.o ggml-cpu/vec.o ggml-cpu/binary-ops.o ggml-cpu/unary-ops.o ggml-cpu/repack.o ggml-cpu/quants.o ggml-cpu/hbm.o ggml-cpu/arch/x86/cpu-feats.o ggml-cpu/arch/x86/quants.o ggml-cpu/arch/x86/repack.o
strip --strip-debug ../inst/lib/libggml.a 2>/dev/null || true
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o ggmlR.so r_interface.o r_interface_graph.o r_interface_vulkan.o r_interface_scheduler.o r_interface_opt.o r_interface_backend.o r_interface_quants.o r_ggml_io.o ggml.o ggml-alloc.o ggml-quants.o ggml-opt.o gguf.o ggml-backend.o ggml-backend-reg.o ggml-threading.o ggml-cpu/traits.o ggml-cpu/ggml-cpu-backend.o ggml-cpu/ggml-cpu.o ggml-cpu/ops.o ggml-cpu/vec.o ggml-cpu/binary-ops.o ggml-cpu/unary-ops.o ggml-cpu/repack.o ggml-cpu/quants.o ggml-cpu/hbm.o ggml-cpu/arch/x86/cpu-feats.o ggml-cpu/arch/x86/quants.o ggml-cpu/arch/x86/repack.o -fopenmp -lpthread -lm -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpq0dMHA/R.INSTALL1a224c555f38c1/ggmlR/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpq0dMHA/R.INSTALL1a224c555f38c1/ggmlR/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpq0dMHA/R.INSTALL1a224c555f38c1/ggmlR/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-ggmlR/00new/ggmlR/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘ggmlR’
finding HTML links ... done
GGML_GLU_OP_REGLU html
GGML_SORT_ORDER_ASC html
GGML_TYPE_F32 html
abind_first html
ag_add html
ag_batch_norm html
ag_clamp html
ag_cross_entropy_loss html
ag_dataloader html
ag_default_device html
ag_default_dtype html
ag_device html
ag_dropout html
ag_dtype html
ag_embedding html
ag_eval html
ag_exp html
ag_gradcheck html
ag_linear html
ag_log html
ag_matmul html
ag_mean html
ag_mse_loss html
ag_mul html
ag_multihead_attention html
ag_param html
ag_pow html
ag_relu html
ag_reshape html
ag_scale html
ag_sequential html
ag_sigmoid html
ag_softmax html
ag_softmax_cross_entropy_loss html
ag_sub html
ag_sum html
ag_tanh html
ag_tensor html
ag_to_device html
ag_train html
ag_transpose html
backward html
clip_grad_norm html
dequantize_row_iq2_xxs html
dequantize_row_mxfp4 html
dequantize_row_q2_K html
dequantize_row_q4_0 html
dequantize_row_tq1_0 html
dp_train html
ggmlR-package html
ggml_abort_is_r_enabled html
ggml_abs html
ggml_abs_inplace html
ggml_add html
ggml_add1 html
ggml_add_inplace html
ggml_apply html
ggml_are_same_layout html
ggml_are_same_shape html
ggml_are_same_stride html
ggml_argmax html
ggml_argsort html
ggml_backend_alloc_ctx_tensors html
ggml_backend_buffer_clear html
ggml_backend_buffer_free html
ggml_backend_buffer_get_size html
ggml_backend_buffer_get_usage html
ggml_backend_buffer_is_host html
ggml_backend_buffer_is_multi_buffer html
ggml_backend_buffer_name html
ggml_backend_buffer_reset html
ggml_backend_buffer_set_usage html
ggml_backend_buffer_usage_any html
ggml_backend_buffer_usage_compute html
ggml_backend_buffer_usage_weights html
ggml_backend_cpu_init html
ggml_backend_cpu_set_n_threads html
ggml_backend_dev_by_name html
ggml_backend_dev_by_type html
ggml_backend_dev_count html
ggml_backend_dev_description html
ggml_backend_dev_get html
ggml_backend_dev_get_props html
ggml_backend_dev_init html
ggml_backend_dev_memory html
ggml_backend_dev_name html
ggml_backend_dev_offload_op html
ggml_backend_dev_supports_buft html
ggml_backend_dev_supports_op html
ggml_backend_dev_type html
ggml_backend_device_register html
ggml_backend_device_type_accel html
ggml_backend_device_type_cpu html
ggml_backend_device_type_gpu html
ggml_backend_device_type_igpu html
ggml_backend_event_free html
ggml_backend_event_new html
ggml_backend_event_record html
ggml_backend_event_synchronize html
ggml_backend_event_wait html
ggml_backend_free html
ggml_backend_get_device html
ggml_backend_graph_compute html
ggml_backend_graph_compute_async html
ggml_backend_graph_plan_compute html
ggml_backend_graph_plan_create html
ggml_backend_graph_plan_free html
ggml_backend_init_best html
ggml_backend_init_by_name html
ggml_backend_init_by_type html
ggml_backend_load html
ggml_backend_load_all html
ggml_backend_multi_buffer_alloc_buffer
html
ggml_backend_multi_buffer_set_usage html
ggml_backend_name html
ggml_backend_reg_by_name html
ggml_backend_reg_count html
ggml_backend_reg_dev_count html
ggml_backend_reg_dev_get html
ggml_backend_reg_get html
ggml_backend_reg_name html
ggml_backend_register html
ggml_backend_sched_alloc_graph html
ggml_backend_sched_free html
ggml_backend_sched_get_backend html
ggml_backend_sched_get_n_backends html
ggml_backend_sched_get_n_copies html
ggml_backend_sched_get_n_splits html
ggml_backend_sched_get_tensor_backend html
ggml_backend_sched_graph_compute html
ggml_backend_sched_graph_compute_async
html
ggml_backend_sched_new html
ggml_backend_sched_reserve html
ggml_backend_sched_reset html
ggml_backend_sched_set_tensor_backend html
ggml_backend_sched_synchronize html
ggml_backend_synchronize html
ggml_backend_tensor_copy_async html
ggml_backend_tensor_get_and_sync html
ggml_backend_tensor_get_async html
ggml_backend_tensor_get_data html
ggml_backend_tensor_get_f32_first html
ggml_backend_tensor_set_async html
ggml_backend_tensor_set_data html
ggml_backend_unload html
ggml_batch_norm html
ggml_blck_size html
ggml_build_forward_expand html
ggml_callback_early_stopping html
ggml_can_repeat html
ggml_ceil html
ggml_ceil_inplace html
ggml_clamp html
ggml_compile html
ggml_concat html
ggml_cont html
ggml_conv_1d html
ggml_conv_2d html
ggml_conv_transpose_1d html
ggml_cos html
ggml_count_equal html
ggml_cpu_add html
ggml_cpu_features html
ggml_cpu_get_rvv_vlen html
ggml_cpu_get_sve_cnt html
ggml_cpu_has_amx_int8 html
ggml_cpu_has_arm_fma html
ggml_cpu_has_avx html
ggml_cpu_has_avx2 html
ggml_cpu_has_avx512 html
ggml_cpu_has_avx512_bf16 html
ggml_cpu_has_avx512_vbmi html
ggml_cpu_has_avx512_vnni html
ggml_cpu_has_avx_vnni html
ggml_cpu_has_bmi2 html
ggml_cpu_has_dotprod html
ggml_cpu_has_f16c html
ggml_cpu_has_fma html
ggml_cpu_has_fp16_va html
ggml_cpu_has_llamafile html
ggml_cpu_has_matmul_int8 html
ggml_cpu_has_neon html
ggml_cpu_has_riscv_v html
ggml_cpu_has_sme html
ggml_cpu_has_sse3 html
ggml_cpu_has_ssse3 html
ggml_cpu_has_sve html
ggml_cpu_has_vsx html
ggml_cpu_has_vxe html
ggml_cpu_has_wasm_simd html
ggml_cpu_mul html
ggml_cpy html
ggml_cycles html
ggml_cycles_per_ms html
ggml_dense html
ggml_diag html
ggml_diag_mask_inf html
ggml_diag_mask_inf_inplace html
ggml_diag_mask_zero html
ggml_div html
ggml_div_inplace html
ggml_dup html
ggml_dup_inplace html
ggml_dup_tensor html
ggml_element_size html
ggml_elu html
ggml_elu_inplace html
ggml_embedding html
ggml_estimate_memory html
ggml_evaluate html
ggml_exp html
ggml_exp_inplace html
ggml_fit html
ggml_fit_opt html
ggml_flash_attn_back html
ggml_flash_attn_ext html
ggml_floor html
ggml_floor_inplace html
ggml_free html
ggml_freeze_weights html
ggml_ftype_to_ggml_type html
ggml_gallocr_alloc_graph html
ggml_gallocr_free html
ggml_gallocr_get_buffer_size html
ggml_gallocr_new html
ggml_gallocr_reserve html
ggml_geglu html
ggml_geglu_quick html
ggml_geglu_split html
ggml_gelu html
ggml_gelu_erf html
ggml_gelu_inplace html
ggml_gelu_quick html
ggml_get_f32 html
ggml_get_f32_nd html
ggml_get_first_tensor html
ggml_get_i32 html
ggml_get_i32_nd html
ggml_get_layer html
ggml_get_max_tensor_size html
ggml_get_mem_size html
ggml_get_n_threads html
ggml_get_name html
ggml_get_next_tensor html
ggml_get_no_alloc html
ggml_get_op_params html
ggml_get_op_params_f32 html
ggml_get_op_params_i32 html
ggml_get_rows html
ggml_get_rows_back html
ggml_get_unary_op html
ggml_glu html
ggml_glu_split html
ggml_graph_compute html
ggml_graph_compute_with_ctx html
ggml_graph_dump_dot html
ggml_graph_get_tensor html
ggml_graph_n_nodes html
ggml_graph_node html
ggml_graph_overhead html
ggml_graph_print html
ggml_graph_reset html
ggml_graph_view html
ggml_group_norm html
ggml_group_norm_inplace html
ggml_gru html
ggml_hardsigmoid html
ggml_hardswish html
ggml_im2col html
ggml_init html
ggml_init_auto html
ggml_input html
ggml_is_available html
ggml_is_contiguous html
ggml_is_contiguous_0 html
ggml_is_contiguous_1 html
ggml_is_contiguous_2 html
ggml_is_contiguous_channels html
ggml_is_contiguous_rows html
ggml_is_contiguously_allocated html
ggml_is_permuted html
ggml_is_quantized html
ggml_is_transposed html
ggml_l2_norm html
ggml_l2_norm_inplace html
ggml_layer_add html
ggml_layer_batch_norm html
ggml_layer_concatenate html
ggml_layer_conv_1d html
ggml_layer_conv_2d html
ggml_layer_dense html
ggml_layer_dropout html
ggml_layer_embedding html
ggml_layer_flatten html
ggml_layer_global_average_pooling_2d html
ggml_layer_global_max_pooling_2d html
ggml_layer_gru html
ggml_layer_lstm html
ggml_layer_max_pooling_2d html
ggml_leaky_relu html
ggml_load_model html
ggml_load_weights html
ggml_log html
ggml_log_inplace html
ggml_log_is_r_enabled html
ggml_log_set_default html
ggml_log_set_r html
ggml_lstm html
ggml_mean html
ggml_model html
ggml_model_sequential html
ggml_mul html
ggml_mul_inplace html
ggml_mul_mat html
ggml_mul_mat_id html
ggml_n_dims html
ggml_nbytes html
ggml_neg html
ggml_neg_inplace html
ggml_nelements html
ggml_new_f32 html
ggml_new_i32 html
ggml_new_tensor html
ggml_new_tensor_1d html
ggml_new_tensor_2d html
ggml_new_tensor_3d html
ggml_new_tensor_4d html
ggml_norm html
ggml_norm_inplace html
ggml_nrows html
ggml_op_can_inplace html
ggml_op_desc html
ggml_op_name html
ggml_op_symbol html
ggml_opt_alloc html
ggml_opt_context_optimizer_type html
ggml_opt_dataset_data html
ggml_opt_dataset_free html
ggml_opt_dataset_get_batch html
ggml_opt_dataset_init html
ggml_opt_dataset_labels html
ggml_opt_dataset_ndata html
ggml_opt_dataset_shuffle html
ggml_opt_default_params html
ggml_opt_epoch html
ggml_opt_eval html
ggml_opt_fit html
ggml_opt_free html
ggml_opt_get_lr html
ggml_opt_grad_acc html
ggml_opt_init html
ggml_opt_init_for_fit html
ggml_opt_inputs html
ggml_opt_labels html
ggml_opt_loss html
ggml_opt_loss_type_cross_entropy html
ggml_opt_loss_type_mean html
ggml_opt_loss_type_mse html
ggml_opt_loss_type_sum html
ggml_opt_ncorrect html
ggml_opt_optimizer_name html
ggml_opt_optimizer_type_adamw html
ggml_opt_optimizer_type_sgd html
ggml_opt_outputs html
ggml_opt_pred html
ggml_opt_prepare_alloc html
ggml_opt_reset html
ggml_opt_result_accuracy html
ggml_opt_result_free html
ggml_opt_result_init html
ggml_opt_result_loss html
ggml_opt_result_ndata html
ggml_opt_result_pred html
ggml_opt_result_reset html
ggml_opt_set_lr html
ggml_opt_static_graphs html
ggml_out_prod html
ggml_pad html
ggml_permute html
ggml_pool_1d html
ggml_pool_2d html
ggml_pop_layer html
ggml_predict html
ggml_predict_classes html
ggml_print_mem_status html
ggml_print_objects html
ggml_quant_block_info html
ggml_quantize_chunk html
ggml_quantize_free html
ggml_quantize_init html
ggml_quantize_requires_imatrix html
ggml_reglu html
ggml_reglu_split html
ggml_relu html
ggml_relu_inplace html
ggml_repeat html
ggml_repeat_back html
ggml_reset html
ggml_reshape_1d html
ggml_reshape_2d html
ggml_reshape_3d html
ggml_reshape_4d html
ggml_rms_norm html
ggml_rms_norm_back html
ggml_rms_norm_inplace html
ggml_rope html
ggml_rope_ext html
ggml_rope_ext_back html
ggml_rope_ext_inplace html
ggml_rope_inplace html
ggml_rope_multi html
ggml_rope_multi_inplace html
ggml_round html
ggml_round_inplace html
ggml_save_model html
ggml_save_weights html
ggml_scale html
ggml_scale_inplace html
ggml_schedule_cosine_decay html
ggml_schedule_reduce_on_plateau html
ggml_schedule_step_decay html
ggml_set html
ggml_set_1d html
ggml_set_2d html
ggml_set_abort_callback_default html
ggml_set_abort_callback_r html
ggml_set_f32 html
ggml_set_f32_nd html
ggml_set_i32 html
ggml_set_i32_nd html
ggml_set_input html
ggml_set_n_threads html
ggml_set_name html
ggml_set_no_alloc html
ggml_set_op_params html
ggml_set_op_params_f32 html
ggml_set_op_params_i32 html
ggml_set_output html
ggml_set_param html
ggml_set_zero html
ggml_sgn html
ggml_sigmoid html
ggml_sigmoid_inplace html
ggml_silu html
ggml_silu_back html
ggml_silu_inplace html
ggml_sin html
ggml_soft_max html
ggml_soft_max_ext html
ggml_soft_max_ext_back html
ggml_soft_max_ext_back_inplace html
ggml_soft_max_ext_inplace html
ggml_soft_max_inplace html
ggml_softplus html
ggml_softplus_inplace html
ggml_sqr html
ggml_sqr_inplace html
ggml_sqrt html
ggml_sqrt_inplace html
ggml_step html
ggml_sub html
ggml_sub_inplace html
ggml_sum html
ggml_sum_rows html
ggml_swiglu html
ggml_swiglu_split html
ggml_tanh html
ggml_tanh_inplace html
ggml_tensor_copy html
ggml_tensor_nb html
ggml_tensor_num html
ggml_tensor_overhead html
ggml_tensor_set_f32_scalar html
ggml_tensor_shape html
ggml_tensor_type html
ggml_test html
ggml_time_init html
ggml_time_ms html
ggml_time_us html
ggml_timestep_embedding html
ggml_top_k html
ggml_transpose html
ggml_type_name html
ggml_type_size html
ggml_type_sizef html
ggml_unary_op_name html
ggml_unfreeze_weights html
ggml_upscale html
ggml_used_mem html
ggml_version html
ggml_view_1d html
ggml_view_2d html
ggml_view_3d html
ggml_view_4d html
ggml_view_tensor html
ggml_vulkan_available html
ggml_vulkan_backend_name html
ggml_vulkan_device_count html
ggml_vulkan_device_description html
ggml_vulkan_device_memory html
ggml_vulkan_free html
ggml_vulkan_init html
ggml_vulkan_is_backend html
ggml_vulkan_list_devices html
ggml_vulkan_status html
ggml_with_temp_ctx html
iq2xs_free_impl html
iq2xs_init_impl html
iq3xs_free_impl html
iq3xs_init_impl html
is_ag_tensor html
lr_scheduler_cosine html
lr_scheduler_step html
nn_apply_activation html
nn_build_batch_norm html
nn_build_conv_1d html
nn_build_conv_2d html
nn_build_dense html
nn_build_dropout html
nn_build_embedding html
nn_build_flatten html
nn_build_functional_graph html
nn_build_functional_node html
nn_build_global_average_pooling_2d html
nn_build_global_max_pooling_2d html
nn_build_graph html
nn_build_gru html
nn_build_layer html
nn_build_lstm html
nn_build_max_pooling_2d html
nn_count_layer_params html
nn_functional_output_shape html
nn_gru_step html
nn_infer_shapes html
nn_init_glorot_uniform html
nn_init_he_uniform html
nn_init_recurrent_uniform html
nn_init_zeros html
nn_lstm_step html
nn_topo_sort html
optimizer_adam html
optimizer_sgd html
plot.ggml_history html
print.ag_tensor html
print.ggml_functional_model html
print.ggml_history html
print.ggml_sequential_model html
quantize_iq2_xxs html
quantize_mxfp4 html
quantize_q2_K html
quantize_q4_0 html
quantize_row_iq3_xxs_ref html
quantize_row_mxfp4_ref html
quantize_row_q2_K_ref html
quantize_row_q4_0_ref html
quantize_row_tq1_0_ref html
quantize_tq1_0 html
rope_types html
summary.ggml_sequential_model html
with_grad_tape html
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (ggmlR)