mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 15:55:37 +00:00
Minor GPU vector width changeÂ
This commit is contained in:
parent
4b04ae3611
commit
1bb456c0c5
@ -36,6 +36,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
||||
|
||||
namespace Grid {
|
||||
|
||||
#define COALESCE_GRANULARITY (32) // bytes for coalesce granularity of target: Pascal, Volta
|
||||
|
||||
template<class pair>
|
||||
class GpuComplex {
|
||||
@ -118,8 +119,6 @@ inline accelerator GpuVector<N,datum> operator/(const GpuVector<N,datum> l,const
|
||||
return ret;
|
||||
}
|
||||
|
||||
#define COALESCE_GRANULARITY (64) // 512 bit coalesce size target
|
||||
|
||||
constexpr int NSIMD_RealH = COALESCE_GRANULARITY / sizeof(half);
|
||||
constexpr int NSIMD_ComplexH = COALESCE_GRANULARITY / sizeof(half2);
|
||||
constexpr int NSIMD_RealF = COALESCE_GRANULARITY / sizeof(float);
|
||||
|
Loading…
Reference in New Issue
Block a user