diff options
Diffstat (limited to 'intern/cycles/util/util_types_float8.h')
-rw-r--r-- | intern/cycles/util/util_types_float8.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/util/util_types_float8.h b/intern/cycles/util/util_types_float8.h index 64ec5a71355..08720b8ff48 100644 --- a/intern/cycles/util/util_types_float8.h +++ b/intern/cycles/util/util_types_float8.h @@ -37,7 +37,7 @@ CCL_NAMESPACE_BEGIN #ifndef __KERNEL_GPU__ -struct ccl_try_align(16) float8 { +struct ccl_try_align(32) float8 { #ifdef __KERNEL_AVX2__ union { __m256 m256; @@ -48,8 +48,8 @@ struct ccl_try_align(16) float8 { __forceinline float8(const float8& a); __forceinline explicit float8(const __m256& a); - __forceinline operator const __m256&(void) const; - __forceinline operator __m256&(void); + __forceinline operator const __m256&() const; + __forceinline operator __m256&(); __forceinline float8& operator =(const float8& a); |