Hi there!

Really excited to get into the awesome new world of PyFR! So far as I can 
tell you guys have done a beautiful job! I'm having an issue with 
dependencies, or running into a bug? Not sure which... 

Calling any "pyfr run -b cuda mesh.pyfrm init.ini" command spits out the 
following response. 
<https://lh3.googleusercontent.com/-2sbE2jq08GU/WEuN_633yVI/AAAAAAAAAe0/BrC-jV9lhxM3sN4n1wYLHBSQv_1q0EqpwCLcB/s1600/Untitled2.png>

The issue is of course the *pyfr.backends.cuda.cublas.CUBLASNotInitialized* 
Error. 
This is an error code which is documented in the CUDA documentation 
<http://docs.nvidia.com/cuda/cublas/#cublasstatus_t>.

It hints there that perhaps cublasCreate should be called earlier? Right 
now in PyFr1.5.0, we load the library, wrap it, and THEN we "Create":
class CUDACUBLASKernels(object):
    def __init__(self, backend):
        # Load and wrap CUBLAS
        self._wrappers = CUBLASWrappers()

        # Init
        self._handle = c_void_p()
        self._wrappers.cublasCreate(self._handle)

Is this a bug or am I doing something wrong?

Sincerely confused,
Jonny Hyman
:)

-- 
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply via email to