Kaydet (Commit) 501bc66c authored tarafından I-Jui (Ray) Sung's avatar I-Jui (Ray) Sung

GPU Calc: use parallel reduction to implement sum

Use reduction kernel when given a large DoubleVectorRef

Change-Id: Ifd4977b81be64274733909e43f0e5ef161bb455e
Signed-off-by: 's avatarI-Jui (Ray) Sung <ray@multicorewareinc.com>
üst 43cab408
...@@ -92,7 +92,7 @@ public: ...@@ -92,7 +92,7 @@ public:
virtual void GenDeclRef(std::stringstream &ss) const; virtual void GenDeclRef(std::stringstream &ss) const;
/// Create buffer and pass the buffer to a given kernel /// Create buffer and pass the buffer to a given kernel
virtual size_t Marshal(cl_kernel, int, int); virtual size_t Marshal(cl_kernel, int, int, cl_program);
virtual ~DynamicKernelArgument(); virtual ~DynamicKernelArgument();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment