Fix bs and ths error in equations
This commit is contained in:
parent
0d223e6ed9
commit
3fe15e5e5c
@ -533,11 +533,15 @@ void getEnergySame
|
|||||||
// cuMemAlloc((CUdeviceptr*)&_vhhh,
|
// cuMemAlloc((CUdeviceptr*)&_vhhh,
|
||||||
// NoNoNo * sizeof(DataFieldType<F>)));
|
// NoNoNo * sizeof(DataFieldType<F>)));
|
||||||
// )
|
// )
|
||||||
// const size_t
|
#if !defined(ATRIP_ONLY_DGEMM)
|
||||||
// bs = Atrip::kernelDimensions.ooo.blocks,
|
// we still have to zero this
|
||||||
// ths = Atrip::kernelDimensions.ooo.threads;
|
const size_t
|
||||||
//cuda::zeroing<<<bs, ths>>>((DataFieldType<F>*)_t_buffer, NoNoNo);
|
bs = Atrip::kernelDimensions.ooo.blocks,
|
||||||
//cuda::zeroing<<<bs, ths>>>((DataFieldType<F>*)_vhhh, NoNoNo);
|
ths = Atrip::kernelDimensions.ooo.threads;
|
||||||
|
cuda::zeroing<<<bs, ths>>>((DataFieldType<F>*)_t_buffer, NoNoNo);
|
||||||
|
cuda::zeroing<<<bs, ths>>>((DataFieldType<F>*)_vhhh, NoNoNo);
|
||||||
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
DataFieldType<F>* _t_buffer = (DataFieldType<F>*)malloc(NoNoNo * sizeof(F));
|
DataFieldType<F>* _t_buffer = (DataFieldType<F>*)malloc(NoNoNo * sizeof(F));
|
||||||
DataFieldType<F>* _vhhh = (DataFieldType<F>*)malloc(NoNoNo * sizeof(F));
|
DataFieldType<F>* _vhhh = (DataFieldType<F>*)malloc(NoNoNo * sizeof(F));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user