Objet : Developers list for StarPU
Archives de la liste
- From: Cyril Roelandt <cyril.roelandt@inria.fr>
- To: Usman Dastgeer <usman.dastgeer@liu.se>
- Cc: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
- Subject: Re: [Starpu-devel] StarPU csr_interface problem
- Date: Fri, 17 Aug 2012 17:09:42 +0200
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
On 08/14/2012 05:05 PM, Usman Dastgeer wrote:
Hello,
Hello,
I am trying to use starpu_csr_interface for write/readwrite purpose which is
not working. I have attached a sample code to demonstrate it for both CPU and
CUDA.
I think there is/are some bug(s) in the code related to starpu_csr_interface
for data copy etc.
Please have a look at attached file and let me know when it is fixed.
I think this line:
int* output = (int *)STARPU_CSR_GET_NNZ(csr_matrix);
should be:
int* output = (int *)STARPU_CSR_GET_NZVAL(csr_matrix);
Does this solve your issue ?
WBR,
Cyril Roelandt.
- [Starpu-devel] StarPU csr_interface problem, Usman Dastgeer, 14/08/2012
- Re: [Starpu-devel] StarPU csr_interface problem, Cyril Roelandt, 17/08/2012
Archives gérées par MHonArc 2.6.19+.