- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I want to implement fortran spread function in OpenCL kernel. For example; inside a loop with index k, I have following fortran statements that need to make (n-k)(n-k) matrices first from a row of matrix "a" and then from a column of matrix "a";
spread(a(k,k+1:n),1,n-k)
spread(a(k+1:n,k),2,n-k)
I will probably make a new matrix in each iteration of loop inside OpenCL kernel and will need to spread kth row along all rows of one matrix and to spread kth column along all colums of second matrix. How could I do that in Opencl kernel?
I want to implement fortran spread function in OpenCL kernel. For example; inside a loop with index k, I have following fortran statements that need to make (n-k)(n-k) matrices first from a row of matrix "a" and then from a column of matrix "a";
spread(a(k,k+1:n),1,n-k)
spread(a(k+1:n,k),2,n-k)
I will probably make a new matrix in each iteration of loop inside OpenCL kernel and will need to spread kth row along all rows of one matrix and to spread kth column along all colums of second matrix. How could I do that in Opencl kernel?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anybody there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Sorry for the slow reply, many of us are on vacation and others are attending SIGGRAPH 2011. In any case, I'd love to try and help you, but I don't know Fortran. Is it possible you could restate your question to explain exactly what your kernel's input and output will be?
Thanks,
Doron Singer
Sorry for the slow reply, many of us are on vacation and others are attending SIGGRAPH 2011. In any case, I'd love to try and help you, but I don't know Fortran. Is it possible you could restate your question to explain exactly what your kernel's input and output will be?
Thanks,
Doron Singer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Its ok now, I resolved my problem another way. Thank you anyway... :)

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page