Hi, 
  I got it, sorry. It is working. I saw the API to communicate with the
OpenCL device. 
Thanks
-juan
> > detectGPUs()
> [1] 0
> > platformInfo(2L)
> $platformName
> [1] "NVIDIA CUDA"
> 
> $platformVendor
> [1] "NVIDIA Corporation"
> 
> $platformVersion
> [1] "OpenCL 1.1 CUDA 6.0.1"
> 
> $platformExtensions
> [1] "cl_khr_byte_addressable_store" "cl_khr_icd"                   
> [3] "cl_khr_gl_sharing"             "cl_nv_compiler_options"       
> [5] "cl_nv_device_attribute_query"  "cl_nv_pragma_unroll"          
> [7] ""                             
> 
> > detectGPUs(2L)
> [1] 1
> > gpuA <- gpuMatrix(rnorm(16), nrow=4, ncol=4)
> > gpuB <- gpuA %*% gpuA
On Mon, 2016-05-16 at 10:02 +0100, Juan Fumero wrote:
> Hi, 
>   thanks a lot for the suggestions. Yes I can run normal OpenCL C and
> Java apps as well as CUDA  C/C++ applications. 
> 
> I installed my own R version ~/bin/R/ . I wonder If I need some
> variables to specify OpenCL and CUDA appart from the LD_LIBRARY_PATH
> (already set). It should be the Intel driver + CUDA driver (both).
> Here it is only the Intel one. 
> 
> $ ./bin/R 
> > library("gpuR")
> > platformInfo()
> $platformName
> [1] "Intel(R) OpenCL"
> 
> $platformVendor
> [1] "Intel(R) Corporation"
> 
> $platformVersion
> [1] "OpenCL 1.2 LINUX"
> 
> $platformExtensions
>  [1] "cl_khr_icd"                          
>  [2] "cl_khr_global_int32_base_atomics"    
>  [3] "cl_khr_global_int32_extended_atomics"
>  [4] "cl_khr_local_int32_base_atomics"     
>  [5] "cl_khr_local_int32_extended_atomics" 
>  [6] "cl_khr_byte_addressable_store"       
>  [7] "cl_khr_spir"                         
>  [8] "cl_intel_exec_by_local_thread"       
>  [9] "cl_khr_fp64"                         
> [10] ""                                    
> 
> > gpuInfo()
> Error: ViennaCL: FATAL ERROR: CL_DEVICE_NOT_FOUND 
>  ViennaCL could not find a suitable device. Please check whether an
> OpenCL implementation is properly installed and a suitable device
> available.
> 
> 
> Thanks
> -juan
> 
> 
> On Sun, 2016-05-15 at 20:41 -0500, Charles Determan wrote:
> > Juan,
> > 
> > Try checking if any of the information functions work for you such
> > as 'platformInfo' or 'gpuInfo'. If neither of these work your CUDA
> > installation is likely improperly installed and you should test a
> > basic OpenCL or CUDA program as suggested by Karl.
> > 
> > Regards,
> > Charles
> > 
> > On Sunday, May 15, 2016, Karl Rupp <r...@iue.tuwien.ac.at> wrote:
> > > Hi Juan,
> > > 
> > > the error suggests that your driver installation is for some
> > > reason incomplete. Are you able to run any other CUDA or OpenCL
> > > programs?
> > > 
> > > Best regards,
> > > Karli
> > > 
> > > 
> > > On 05/15/2016 03:13 PM, Juan Fumero wrote:
> > > > Hi,
> > > > 
> > > >     I am just installed the gnuR package on my OpenSuse Linux
> > > > with cran
> > > >   - install.packages("gpuR")
> > > > 
> > > > The R version I have is 3.1.3. When I try to execute this
> > > > application
> > > > in the terminal I get the following error:
> > > > 
> > > > 
> > > > > A <- seq.int(from=0, to=999)
> > > > > B <- seq.int(from=1000, to=1)
> > > > > gpuA <- gpuVector(A)
> > > > > 
> > > >  Error: ViennaCL: FATAL ERROR: CL_DEVICE_NOT_FOUND
> > > >   ViennaCL could not find a suitable device. Please check
> > > > whether an
> > > > OpenCL implementation is properly installed and a suitable
> > > > device
> > > > available.
> > > > If you think that this is a bug in ViennaCL, please report it
> > > > at vienna
> > > > cl-supp...@lists.sourceforge.net and supply at least the
> > > > following
> > > > information:
> > > >   * Operating System
> > > >   * Which OpenCL implementation (AMD, NVIDIA, etc.)
> > > >   * ViennaCL version
> > > > Many thanks in advance!
> > > > 
> > > > 
> > > > I am using NVIDIA driver 331.79.
> > > > 
> > > > Any idea?
> > > > Many thanks
> > > > Juan
> > > > 
> > > > 
> > > > 
> > >  
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
ViennaCL-support mailing list
ViennaCL-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-support

Reply via email to