Skip to content

Conversation

@Jamaika1
Copy link

@Jamaika1 Jamaika1 commented Jan 2, 2026

In file included from ggml-cuda.cu:5:
ggml-cuda.cu: In function 'void evaluate_and_capture_cuda_graph(ggml_backend_cuda_context*, ggml_cgraph*, bool&, bool&, bool&)':
ggml-cuda.cu:3330:59: error: too few arguments to function 'cudaError_t cudaStreamWaitEvent(cudaStream_t, cudaEvent_t, unsigned int)'
 3330 |                             CUDA_CHECK(cudaStreamWaitEvent(cuda_ctx->stream(), concurrent_event->join_events[i - 1]));
      |                                        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.cuh:165:22: note: in definition of macro 'CUDA_CHECK_GEN'
  165 |         auto err_ = (err);                                                          \
      |                      ^~~
ggml-cuda.cu:3330:29: note: in expansion of macro 'CUDA_CHECK'
 3330 |                             CUDA_CHECK(cudaStreamWaitEvent(cuda_ctx->stream(), concurrent_event->join_events[i - 1]));
      |                             ^~~~~~~~~~
In file included from C:/gcc1520/x86_64-w64-mingw32/include/cudart/channel_descriptor.h:61,
                 from C:/gcc1520/x86_64-w64-mingw32/include/cudart/cuda_runtime.h:94,
                 from <command-line>:
C:/gcc1520/x86_64-w64-mingw32/include/cudart/cuda_runtime_api.h:14842:62: note: declared here
14842 |     extern __host__ __cudart_builtin__ cudaError_t CUDARTAPI cudaStreamWaitEvent(cudaStream_t stream, cudaEvent_t event, unsigned int flags);
      |                                                              ^~~~~~~~~~~~~~~~~~~

```
common.cuh: In function 'const uint3 init_fastdiv_values(uint64_t)':
common.cuh:755:56: error: incomplete type 'std::numeric_limits<unsigned int>' used in nested name specifier
  755 |     GGML_ASSERT(d_64 <= std::numeric_limits<uint32_t>::max());
      |                                                        ^~~
../ggml.h:283:30: note: in definition of macro 'GGML_ASSERT'
  283 | #define GGML_ASSERT(x) if (!(x)) GGML_ABORT("GGML_ASSERT(%s) failed", #x)
      |                              ^
In file included from ggml-cuda.cu:5:
ggml-cuda.cu: In function 'void evaluate_and_capture_cuda_graph(ggml_backend_cuda_context*, ggml_cgraph*, bool&, bool&, bool&)':
ggml-cuda.cu:3330:59: error: too few arguments to function 'cudaError_t cudaStreamWaitEvent(cudaStream_t, cudaEvent_t, unsigned int)'
 3330 |                             CUDA_CHECK(cudaStreamWaitEvent(cuda_ctx->stream(), concurrent_event->join_events[i - 1]));
      |                                        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.cuh:165:22: note: in definition of macro 'CUDA_CHECK_GEN'
  165 |         auto err_ = (err);                                                          \
      |                      ^~~
ggml-cuda.cu:3330:29: note: in expansion of macro 'CUDA_CHECK'
 3330 |                             CUDA_CHECK(cudaStreamWaitEvent(cuda_ctx->stream(), concurrent_event->join_events[i - 1]));
      |                             ^~~~~~~~~~
In file included from C:/gcc1520/x86_64-w64-mingw32/include/cudart/channel_descriptor.h:61,
                 from C:/gcc1520/x86_64-w64-mingw32/include/cudart/cuda_runtime.h:94,
                 from <command-line>:
C:/gcc1520/x86_64-w64-mingw32/include/cudart/cuda_runtime_api.h:14842:62: note: declared here
14842 |     extern __host__ __cudart_builtin__ cudaError_t CUDARTAPI cudaStreamWaitEvent(cudaStream_t stream, cudaEvent_t event, unsigned int flags);
      |                                                              ^~~~~~~~~~~~~~~~~~~
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant