Changed names of some parameters to better ones
This commit is contained in:
@@ -213,9 +213,9 @@ reduceScal(const Device device, const StreamType stream_type, const ReductionTyp
|
|||||||
AcResult
|
AcResult
|
||||||
reduceVec(const Device device, const StreamType stream_type,
|
reduceVec(const Device device, const StreamType stream_type,
|
||||||
const ReductionType rtype,
|
const ReductionType rtype,
|
||||||
const VertexBufferHandle vec0,
|
const VertexBufferHandle vtxbuf0,
|
||||||
const VertexBufferHandle vec1,
|
const VertexBufferHandle vtxbuf1,
|
||||||
const VertexBufferHandle vec2,
|
const VertexBufferHandle vtxbuf2,
|
||||||
AcReal* result)
|
AcReal* result)
|
||||||
{
|
{
|
||||||
cudaSetDevice(device->id);
|
cudaSetDevice(device->id);
|
||||||
@@ -224,9 +224,9 @@ reduceVec(const Device device, const StreamType stream_type,
|
|||||||
device->local_config.int_params[AC_nx],
|
device->local_config.int_params[AC_nx],
|
||||||
device->local_config.int_params[AC_ny],
|
device->local_config.int_params[AC_ny],
|
||||||
device->local_config.int_params[AC_nz],
|
device->local_config.int_params[AC_nz],
|
||||||
device->vba.in[vec0],
|
device->vba.in[vtxbuf0],
|
||||||
device->vba.in[vec1],
|
device->vba.in[vtxbuf1],
|
||||||
device->vba.in[vec2],
|
device->vba.in[vtxbuf2],
|
||||||
device->reduce_scratchpad, device->reduce_result);
|
device->reduce_scratchpad, device->reduce_result);
|
||||||
|
|
||||||
return AC_SUCCESS;
|
return AC_SUCCESS;
|
||||||
|
|||||||
Reference in New Issue
Block a user