Reinstate accidentally deleted uchar2Holder

[ROCm/hip commit: 8303bfdffd]
This commit is contained in:
949f45ac
2018-05-17 10:55:45 +02:00
parent 40681fef87
commit c9db90b077
+7
View File
@@ -276,6 +276,13 @@ struct ucharHolder {
};
} __attribute__((aligned(4)));
struct uchar2Holder {
union {
unsigned int ui[2];
unsigned char c[8];
};
} __attribute__((aligned(8)));
__device__ unsigned int __byte_perm(unsigned int x, unsigned int y, unsigned int s) {
struct uchar2Holder cHoldVal;
struct ucharHolder cHoldKey;