We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3964c1 commit 8f5afa9Copy full SHA for 8f5afa9
ggml/src/ggml-cuda/common.cuh
@@ -107,9 +107,9 @@ constexpr bool ggml_cuda_has_arch(const int arch) {
107
return ggml_cuda_has_arch_impl(arch, __CUDA_ARCH_LIST__);
108
}
109
110
-constexpr int ggml_cuda_highest_compiled_arch_impl(const int arch, const int cur) {
+constexpr int ggml_cuda_highest_compiled_arch_impl(const int /*arch*/, const int cur) {
111
if (cur == 0) {
112
- GGML_ABORT("ggml was not compiled with any CUDA arch <= %d", arch);
+ return -1;
113
114
return cur;
115
0 commit comments