Spaces:
Running
Running
lhez
commited on
Commit
·
cfa3731
1
Parent(s):
fafaa8b
opencl: remove unreachable `return` (llama/14806)
Browse files
ggml/src/ggml-opencl/ggml-opencl.cpp
CHANGED
|
@@ -5103,7 +5103,6 @@ static void ggml_cl_conv_2d(ggml_backend_t backend, const ggml_tensor * src0, co
|
|
| 5103 |
shmem_size = (size_t)(BS_K * BS_CRS * sizeof(cl_half) + BS_CRS * (BS_NPQ / VEC_SIZE) * sizeof(cl_float4));
|
| 5104 |
} else {
|
| 5105 |
GGML_ASSERT(false && "Unsupported data type combination for conv2d");
|
| 5106 |
-
return;
|
| 5107 |
}
|
| 5108 |
|
| 5109 |
cl_uint idx = 0;
|
|
|
|
| 5103 |
shmem_size = (size_t)(BS_K * BS_CRS * sizeof(cl_half) + BS_CRS * (BS_NPQ / VEC_SIZE) * sizeof(cl_float4));
|
| 5104 |
} else {
|
| 5105 |
GGML_ASSERT(false && "Unsupported data type combination for conv2d");
|
|
|
|
| 5106 |
}
|
| 5107 |
|
| 5108 |
cl_uint idx = 0;
|