Questions tagged [opencl]
OpenCL™ is the first open, royalty-free standard for cross-platform, parallel programming of modern processors found in personal computers, servers and handheld/embedded devices. OpenCL (Open Computing Language) greatly improves speed and responsiveness for a wide spectrum of applications in numerous market categories from gaming and entertainment to scientific and medical software.
23 questions
1
vote
0
answers
37
views
Sums of sparse matrices modulo 2
I have a set of sparse matrices modulo 2 (i.e systems of equations in the format "a XOR b XOR ... XOR c = 0 or 1" compressed by me into reduced row echelon form).
This is a rather large set (...
3
votes
0
answers
195
views
How can I improve this matrix product calculation in OpenCL?
I am trying to compute a matrix-matrix product of N stacked complex double N x N matrices. For simplicity, I assume N = 512. I have written code in C++ parallelized with OMP and using OpenBLAS for the ...
5
votes
2
answers
850
views
GPGPU language for AMD?
Nvidia seems to be dominating the HPC / GPGPU computing landscape with CUDA. If I want to write a scientific application using and AMD GPU, what is the preferred language these days? I believe it used ...
1
vote
1
answer
92
views
Thomas Algorithm Kernel OpenCL
I am trying to implement the Thomas algorithm using OpenCL.
...
0
votes
1
answer
351
views
CPU and GPU influence on task parallel execution performance
This question is mainly about hardware, but also about software.
In my current work I have approximately 68 millions of combinations that I am iterating through, in parallel. For each of those ...
0
votes
1
answer
324
views
Why does multithreaded code Segfault in 64-bit but not 32-bit [closed]
I have written some multithreaded code using PyOpenCL, which works fine under the following conditions:
GPU 32-bit floating point values (Intel Iris GPU can only handle single precision values)
CPU ...
0
votes
1
answer
62
views
Balancing core load when number of particles in cells vary (PIC on GPU)
Consider this basic scheme for particle in cell simulations ( with just short-range interactions ):
assign particles to disjunct cells
for cell $A$ go over neighboring cells $B$
for each particle $...
3
votes
1
answer
2k
views
Nearest Neighbors in radius via Z-order order curve?
Given a $M\times M\times M$ 3D cube grid $C$, how can I map the 3D grid-coordinates to 1D coordinates such that every cell's nearest neighbors can be represented by a continuous range of corresponding ...
3
votes
2
answers
219
views
HPC reading material
I am an undergraduate, and enthusiastic about HPC. I am currently familiar with the tools OpenMP, MPI, CUDA, OpenCL, thrust libraries etc. But I want to know the core functioning of these tools, I ...
2
votes
1
answer
770
views
Sparse generalized eigensolver using OpenCL
I would like to solve a generalized eigenproblem of real sparse symmetric matrices. Is there an efficient library which utilizes OpenCL in order to find a limited amount of the smallest eigenvalues in ...
0
votes
1
answer
91
views
Already exist? parallel computing [closed]
Parallel computing allow us to compute tasks in parallel. And if there was a system like torrent that unlike sharing files, it share computing power?
For example I have a gpu and I use only 25% of its ...
2
votes
2
answers
449
views
using GPUs before CUDA and OpenCL
Before there was CUDA or OpenCL people were using GPUs for computation. I am trying to find out how they did that -- because I want to press my Rasberry Pi's GPU for computing and it does not seem to ...
2
votes
1
answer
714
views
OpenCL C Matrix Multiplication over Multiple Runs
I am attempting to translate a dgemm / MPI matrix multiplier onto the GPU through OpenCL C. My issue is that the code below gives the correct output for a 9x6 matrix being multiplied by a 6x450 ...
1
vote
2
answers
645
views
Intel's OpenCL SDK for image processing
I'm working on an image processing project and have written some of my algorithms in OpenCL. At the moment I'm using Cloo.
I'm at the stage now where I want to optimise my program, as it currently ...
35
votes
1
answer
14k
views
CUDA vs OpenCL as of late 2013
How do CUDA and OpenCL compare to each other as of late 2013 from a programmer's perspective? My group is thinking about trying to make use of GPU computing. Would we be limiting ourself ...
1
vote
1
answer
2k
views
Returning variable length arrays in OpenCL
I'm new to opencl and I'm trying to figure out how to return a variable length array of numbers. (I'm using Cloo for C# .net)
I am doing image processing and I've written a program to look for ...
1
vote
1
answer
121
views
OpenCL version constraints?
There's a computational code I'm working with which I'm told requires OpenCL 1.1 or later. I found out I'm saddled with OpenCL 1.0 on my Macbook Pro using some helpful code snippets, and Google has ...
0
votes
1
answer
837
views
How to use multiple passes in OpenCL?
I'm new to opencl but I have some experience using HLSL. In HLSL multiple passes are used when you need to finish a computation before moving on to the next step.
I would like to know how this sort ...
1
vote
2
answers
2k
views
How to handle floating point operations in HLSL?
I'm trying to write a perona malik anisotropic diffusion filter for the GPU.
I'm basing my shader off a matlab implementation of the filter. I'm running into trouble because of what I suspect is ...
1
vote
2
answers
173
views
Looking for super computer technology suggestions
I'm writing some image processing software to detect bubbles in oil at work. One of the image filters I need (Perona Malik) seems like it will take a long time to compute. (It involves solving some ...
10
votes
2
answers
1k
views
Selection of linear solver for GPGPU computation (OpenCL)
I have already developed a working solution of the Finite Element Method to solve heat transfer problems using GPU and OpenCL using the Conjugate Gradient method. The main disadvantage of this method ...
7
votes
2
answers
1k
views
Understanding OpenCL performance
I'm using ViennaCL's interface to Eigen as a way to leverage OpenCL. Specifically, I'm using the ::viennacl::linalg::bicgstab_tag with an Eigen sparse matrix. ...
36
votes
2
answers
8k
views
Mathematical Libraries for OpenCL?
I am looking for information from anyone that has tried to use OpenCL in their scientific code. Has anyone tried (recently) ViennaCL? If so, how does it compare to cusp?
What about OCLTools? Does it ...