Skip to content

Commit 5f1ef3b

Browse files
committed
re-apply diff
1 parent b66a8d6 commit 5f1ef3b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cpp/include/raft/linalg/contractions.cuh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,12 @@ struct Policy4x4<half, _veclen> {
159159
typedef KernelPolicy<half, _veclen, 64, 4, 4, 16, 16> Policy;
160160
typedef ColKernelPolicy<half, _veclen, 64, 4, 4, 16, 16> ColPolicy;
161161
};
162+
163+
template <int _veclen>
164+
struct Policy4x4<uint8_t, _veclen> {
165+
typedef KernelPolicy<uint8_t, _veclen, 64, 4, 4, 16, 16> Policy;
166+
typedef ColKernelPolicy<uint8_t, _veclen, 64, 4, 4, 16, 16> ColPolicy;
167+
};
162168
/** @} */
163169

164170
/**
@@ -182,6 +188,12 @@ struct Policy4x4Skinny<double, _veclen> {
182188
typedef ColKernelPolicy<double, _veclen, 8, 4, 4, 8, 8> ColPolicy;
183189
};
184190

191+
template <int _veclen>
192+
struct Policy4x4Skinny<uint8_t, _veclen> {
193+
typedef KernelPolicy<uint8_t, _veclen, 8, 4, 4, 8, 8> Policy;
194+
typedef ColKernelPolicy<uint8_t, _veclen, 8, 4, 4, 8, 8> ColPolicy;
195+
};
196+
185197
/**
186198
* @defgroup Policy2x8 16 elements per thread Policy with k-block = 16
187199
* @{

0 commit comments

Comments
 (0)