0
$\begingroup$

I'm new to this forum even though it has helped me a lot over the last few months. I'm working on hypergeometric functions and want to use my GPU as support. I have a Radeon R9 390, but I can't get it to work with Mathematica.

I am working with Mathematica 11.2, Windows 7, and the driver of my graphics cards says the OpenCL API Version is 2.0, yet

OpenCLQ[]

returns "False". Does anyone have suggestions what I might try?

$\endgroup$
  • 5
    $\begingroup$ "I'm working on hypergeometric functions"... I have my doubts that your graphics card would help at all. What exavtly are you trying to do with it? $\endgroup$ – Henrik Schumacher Aug 16 at 17:03
  • $\begingroup$ For the moment I am just trying to evaluate them over a broad corridor to save the values in a table to test a few things. I found a paper where hypergeometric functions are evaluated on a GPU, so I had/have hopes it would speed up the parallelization. $\endgroup$ – Alex Milne Aug 16 at 19:19
  • $\begingroup$ I did not say that it were impossible. It would just be painful to implement. You would have to write you own OpenCL-routines for the hypergeometric functions because Mathematica's routines cannot be called from the GPU. It is probably not worth the effort. $\endgroup$ – Henrik Schumacher Aug 16 at 19:27
  • $\begingroup$ Moreover, it sounds like you are about to create a lot of data on the GPU in order to play around with it? The latter is also cumbersome to do on the GPU; and running data analysis on the CPU would require you to move the data from the GPU to the CPU. Moving the data would probably take much more time (I am talking about 1 to 2 orders of magnitude) that the time you saved by running the computations on the GPU. $\endgroup$ – Henrik Schumacher Aug 16 at 19:28
  • 1
    $\begingroup$ Sorry, Alex, I am afraid, I cannot help you. I gave up GPU programming a long time ago, because it turned out to be not really useful for my everyday work. $\endgroup$ – Henrik Schumacher Aug 17 at 1:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.