mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
fixme updates
This commit is contained in:
parent
c67c1544cd
commit
79b50feacf
@ -148,8 +148,6 @@ public:
|
|||||||
inline int PermuteType(int dimension){
|
inline int PermuteType(int dimension){
|
||||||
int permute_type=0;
|
int permute_type=0;
|
||||||
//
|
//
|
||||||
// FIXME:
|
|
||||||
//
|
|
||||||
// Best way to encode this would be to present a mask
|
// Best way to encode this would be to present a mask
|
||||||
// for which simd dimensions are rotated, and the rotation
|
// for which simd dimensions are rotated, and the rotation
|
||||||
// size. If there is only one simd dimension rotated, this is just
|
// size. If there is only one simd dimension rotated, this is just
|
||||||
|
@ -990,7 +990,7 @@ public:
|
|||||||
// int words = sizeof(cobj)/sizeof(vector_type);
|
// int words = sizeof(cobj)/sizeof(vector_type);
|
||||||
|
|
||||||
assert(cbmask==0x3); // Fixme think there is a latent bug if not true
|
assert(cbmask==0x3); // Fixme think there is a latent bug if not true
|
||||||
|
// This assert will trap it if ever hit. Not hit normally so far
|
||||||
int reduced_buffer_size = buffer_size;
|
int reduced_buffer_size = buffer_size;
|
||||||
if (cbmask != 0x3) reduced_buffer_size=buffer_size>>1;
|
if (cbmask != 0x3) reduced_buffer_size=buffer_size>>1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user