File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ typedef void* cudaGraph_t;
1111typedef void * cudaGraphExec_t;
1212typedef int cudaError_t;
1313#define cudaSuccess 0
14- constexpr int cudaStreamCaptureModeGlobal = 0 ;
1514constexpr int cudaStreamCaptureModeRelaxed = 2 ;
1615extern " C" {
1716 int cudaStreamCreate (cudaStream_t*);
@@ -61,7 +60,6 @@ extern "C" {
6160}
6261constexpr int cudaMemcpyDeviceToHost = 2 ;
6362constexpr int cudaMemcpyDefault = 4 ;
64- constexpr int cudaMemcpyDeviceToDevice = 3 ;
6563
6664// Static memory hijacking: additional CUDA API forward declarations
6765extern " C" {
@@ -74,7 +72,6 @@ extern "C" {
7472 int cudaEventRecord (void * event, void * stream);
7573 int cudaStreamWaitEvent (void * stream, void * event, unsigned int flags);
7674}
77- constexpr int cudaMemcpyHostToDevice = 1 ;
7875constexpr int cudaHostAllocDefault = 0 ;
7976#endif
8077
@@ -883,7 +880,7 @@ static void extract_embd_pooled(
883880 case LLAMA_POOLING_TYPE_UNSPECIFIED :
884881 {
885882 GGML_ABORT (" unknown pooling type" );
886- } break ;
883+ }
887884 }
888885}
889886
You can’t perform that action at this time.
0 commit comments