Dear Developers,

First, thanks for this promising package. I am wondering about an error 
runnning the example script:


library("gpuR")
ORDER = 7024  # note that I increased the size to match my typical working data
A = matrix(rnorm(ORDER^2), nrow=ORDER)
B = matrix(rnorm(ORDER^2), nrow=ORDER)
gpuA = gpuMatrix(A, type="double")
gpuB = gpuMatrix(B, type="double")
gpuC = gpuA %*% gpuB


then the error happened:


ViennaCL: FATAL ERROR: Kernel start failed for 'assign_cpu'.
ViennaCL: Smaller work sizes could not solve the problem.
Error in cpp_gpuMatrix_gemm(A@address, B@address, C@address, 8L) :
  ViennaCL: FATAL ERROR: CL_MEM_OBJECT_ALLOCATION_FAILURE
 ViennaCL could not allocate memory on the device. Most likely the device 
simply ran out of memory.
If you think that this is a bug in ViennaCL, please report it at 
[email protected] and supply at least the following 
information:
 * Operating System
 * Which OpenCL implementation (AMD, NVIDIA, etc.)
 * ViennaCL version
Many thanks in advance!
Timing stopped at: 1.67 1.34 3.06


My system info is the next:


R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=German_Germany.1252  LC_CTYPE=German_Germany.1252    
LC_MONETARY=German_Germany.1252
[4] LC_NUMERIC=C                    LC_TIME=German_Germany.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] gpuR_2.0.0

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.17               assertive.sets_0.0-3       codetools_0.2-15
 [4] assertive.data.us_0.0-1    assertive.types_0.0-3      
assertive.properties_0.0-4
 [7] assertive.base_0.0-7       assertive.models_0.0-1     assertive.code_0.0-1
[10] stringi_1.1.7              assertive.strings_0.0-3    
assertive.matrices_0.0-1
[13] assertive.reflection_0.0-4 assertive.data_0.0-1       assertive_0.3-5
[16] assertive.datetimes_0.0-2  tools_3.4.3                
assertive.numbers_0.0-2
[19] compiler_3.4.3             assertive.files_0.0-2      
assertive.data.uk_0.0-1
[22] knitr_1.17

and nvidia information is the next:


$deviceName
[1] "GeForce GTX 560 Ti"

$deviceVendor
[1] "NVIDIA Corporation"

$numberOfCores
[1] 8

$maxWorkGroupSize
[1] 1024

$maxWorkItemDim
[1] 3

$maxWorkItemSizes
[1] 1024 1024   64

$deviceMemory
[1] 1073741824

$clockFreq
[1] 1670

$localMem
[1] 49152

$maxAllocatableMem
[1] 268435456

$available
[1] "yes"

$deviceExtensions
 [1] "cl_khr_global_int32_base_atomics"     
"cl_khr_global_int32_extended_atomics"
 [3] "cl_khr_local_int32_base_atomics"      
"cl_khr_local_int32_extended_atomics"
 [5] "cl_khr_fp64"                          "cl_khr_byte_addressable_store"
 [7] "cl_khr_icd"                           "cl_khr_gl_sharing"
 [9] "cl_nv_compiler_options"               "cl_nv_device_attribute_query"
[11] "cl_nv_pragma_unroll"                  "cl_nv_d3d9_sharing"
[13] "cl_nv_d3d10_sharing"                  "cl_khr_d3d10_sharing"
[15] "cl_nv_d3d11_sharing"                  "cl_nv_copy_opts"
[17] "cl_nv_create_buffer"

$double_support
[1] TRUE


Finally, I am wondering if exist some documentation that decribe a method for 
implement a function and apply it row wise in a large matrix.


Many thanks in advance.


Best regards,

Fabián Santos
Ph.d Researcher
Center for Remote Sensing of Land Surfaces (ZFL)
University of Bonn
Genscheralle 3
D-53113 Bonn

Phone: +49 (0)228/73 4925
Fax: +49 (0) 228-736857

Web page: http://www.zfl.uni-bonn.de/
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ViennaCL-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-support

Reply via email to