Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with devices which doesn't support cl_khr_fp64 #39

Closed
dselivanov opened this issue Sep 27, 2016 · 1 comment
Closed

Problem with devices which doesn't support cl_khr_fp64 #39

dselivanov opened this issue Sep 27, 2016 · 1 comment
Labels

Comments

@dselivanov
Copy link

Error from master 0e54a5d.

library(gpuR)
A <- seq.int(from=0, to=999)
gpuA <- gpuVector(A)

Error in deviceHasDouble(platform_index, device_index) :
is_integer : gpu_idx is not of type 'integer'; it has class 'numeric'.

Seems somewhere internally we call deviceHasDouble with numeric argument. I can open new issue for that.

gpuInfo()

$deviceName
[1] "Iris Pro"
$deviceVendor
[1] "Intel"
$numberOfCores
[1] 40
$maxWorkGroupSize
[1] 512
$maxWorkItemDim
[1] 3
$maxWorkItemSizes
[1] 512 512 512
$deviceMemory
[1] 1610612736
$clockFreq
[1] 1200
$localMem
[1] 65536
$maxAllocatableMem
[1] 402653184
$available
[1] "yes"
$deviceExtensions
[1] "cl_APPLE_SetMemObjectDestructor" "cl_APPLE_ContextLoggingFunctions"
[3] "cl_APPLE_clut" "cl_APPLE_query_kernel_names"
[5] "cl_APPLE_gl_sharing" "cl_khr_gl_event"
[7] "cl_khr_global_int32_base_atomics" "cl_khr_global_int32_extended_atomics"
[9] "cl_khr_local_int32_base_atomics" "cl_khr_local_int32_extended_atomics"
[11] "cl_khr_byte_addressable_store" "cl_khr_image2d_from_buffer"
[13] "cl_khr_gl_depth_images" "cl_khr_depth_images"
[15] "cl_khr_3d_image_writes" ""
$double_support
[1] FALSE

@dselivanov
Copy link
Author

dselivanov commented Sep 27, 2016

Works fine on develop branch - feel free to close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants