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 888ffc8 commit a55d765Copy full SHA for a55d765
ggml/src/ggml-cuda/mmvq.cu
@@ -69,7 +69,7 @@ static __host__ int get_device_table_id(int cc)
69
return 0;
70
}
71
72
-static constexpr int calc_nwarps(int ncols_y, int table_id)
+static constexpr __host__ __device__ int calc_nwarps(int ncols_y, int table_id)
73
{
74
if (table_id == 0) {
75
switch (ncols_y) {
@@ -104,7 +104,7 @@ static constexpr int calc_nwarps(int ncols_y, int table_id)
104
return 1;
105
106
107
-static constexpr int calc_rows_per_block(int ncols_y, int table_id)
+static constexpr __host__ __device__ int calc_rows_per_block(int ncols_y, int table_id)
108
109
if (table_id == 0 || table_id == 1) {
110
0 commit comments