OpenCL - Interface allowing R to use OpenCL - check results
RForge.net

OpenCL

About OpenCL
GIT access
Download/Files
News
Check results
Package R docs

Version: 0.2-11
Result: OK
Check time: 2024-03-15 00:47

Distribution log

--- running R CMD build for OpenCL (project OpenCL)
* checking for file ‘OpenCL/DESCRIPTION’ ... OK
* preparing ‘OpenCL’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building ‘OpenCL_0.2-11.tar.gz’

Distribution log

SVN checkout/GIT clone log


Build log for Mac OS X 10.5 (R 2.16.x)

* installing *source* package 'OpenCL' ...
** libs
*** arch - i386
gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c ocl.c -o ocl.o
ocl.c:4:27: error: OpenCL/opencl.h: No such file or directory
ocl.c:20: error: expected ')' before 'id'
ocl.c:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getPlatformID'
ocl.c:37: error: expected ')' before 'id'
ocl.c:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getDeviceID'
ocl.c: In function 'clFreeContext':
ocl.c:56: warning: implicit declaration of function 'clReleaseContext'
ocl.c:56: error: 'cl_context' undeclared (first use in this function)
ocl.c:56: error: (Each undeclared identifier is reported only once
ocl.c:56: error: for each function it appears in.)
ocl.c:56: error: expected ')' before 'R_ExternalPtrAddr'
ocl.c: At top level:
ocl.c:59: error: expected ')' before 'ctx'
ocl.c: In function 'clFreeKernel':
ocl.c:78: warning: implicit declaration of function 'clReleaseKernel'
ocl.c:78: error: 'cl_kernel' undeclared (first use in this function)
ocl.c:78: error: expected ')' before 'R_ExternalPtrAddr'
ocl.c: At top level:
ocl.c:81: error: expected ')' before 'k'
ocl.c:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getKernel'
ocl.c: In function 'ocl_platforms':
ocl.c:99: error: 'cl_uint' undeclared (first use in this function)
ocl.c:99: error: expected ';' before 'np'
ocl.c:100: error: 'cl_platform_id' undeclared (first use in this function)
ocl.c:100: error: 'pid' undeclared (first use in this function)
ocl.c:101: warning: implicit declaration of function 'clGetPlatformIDs'
ocl.c:101: error: 'np' undeclared (first use in this function)
ocl.c:101: error: 'CL_SUCCESS' undeclared (first use in this function)
ocl.c:106: error: expected expression before ')' token
ocl.c:113: warning: implicit declaration of function 'mkPlatformID'
ocl.c:113: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c: In function 'ocl_devices':
ocl.c:121: error: 'cl_platform_id' undeclared (first use in this function)
ocl.c:121: error: expected ';' before 'pid'
ocl.c:123: error: 'cl_uint' undeclared (first use in this function)
ocl.c:123: error: expected ';' before 'np'
ocl.c:124: error: 'cl_device_id' undeclared (first use in this function)
ocl.c:124: error: 'did' undeclared (first use in this function)
ocl.c:125: error: 'cl_device_type' undeclared (first use in this function)
ocl.c:125: error: expected ';' before 'dt'
ocl.c:127: warning: implicit declaration of function 'clGetDeviceIDs'
ocl.c:127: error: 'pid' undeclared (first use in this function)
ocl.c:127: error: 'dt' undeclared (first use in this function)
ocl.c:127: error: 'np' undeclared (first use in this function)
ocl.c:127: error: 'CL_SUCCESS' undeclared (first use in this function)
ocl.c:133: error: 'CL_DEVICE_TYPE_CPU' undeclared (first use in this function)
ocl.c:135: error: 'CL_DEVICE_TYPE_GPU' undeclared (first use in this function)
ocl.c:138: error: 'CL_DEVICE_TYPE_ACCELERATOR' undeclared (first use in this function)
ocl.c:140: error: 'CL_DEVICE_TYPE_ALL' undeclared (first use in this function)
ocl.c:142: error: 'CL_DEVICE_TYPE_DEFAULT' undeclared (first use in this function)
ocl.c:148: error: expected expression before ')' token
ocl.c:155: warning: implicit declaration of function 'mkDeviceID'
ocl.c:155: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c: In function 'ocl_get_device_info_char':
ocl.c:164: error: 'cl_device_id' undeclared (first use in this function)
ocl.c:164: error: expected ';' before 'device_id'
ocl.c:165: error: 'cl_device_info' undeclared (first use in this function)
ocl.c:165: error: expected ';' before 'pn'
ocl.c:167: warning: implicit declaration of function 'clGetDeviceInfo'
ocl.c:167: error: 'device_id' undeclared (first use in this function)
ocl.c:167: error: 'pn' undeclared (first use in this function)
ocl.c:167: error: 'CL_SUCCESS' undeclared (first use in this function)
ocl.c: At top level:
ocl.c:172: error: expected ')' before 'device_id'
ocl.c:179: error: expected ')' before 'platform_id'
ocl.c: In function 'ocl_get_device_info':
ocl.c:188: error: 'cl_device_id' undeclared (first use in this function)
ocl.c:188: error: expected ';' before 'device_id'
ocl.c:195: warning: implicit declaration of function 'getDeviceInfo'
ocl.c:195: error: 'device_id' undeclared (first use in this function)
ocl.c:195: error: 'CL_DEVICE_NAME' undeclared (first use in this function)
ocl.c:195: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c:196: error: 'CL_DEVICE_VENDOR' undeclared (first use in this function)
ocl.c:196: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c:197: error: 'CL_DEVICE_VERSION' undeclared (first use in this function)
ocl.c:197: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c:198: error: 'CL_DEVICE_PROFILE' undeclared (first use in this function)
ocl.c:198: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c:199: error: 'CL_DEVICE_EXTENSIONS' undeclared (first use in this function)
ocl.c:199: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c:200: error: 'CL_DRIVER_VERSION' undeclared (first use in this function)
ocl.c:200: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c: In function 'ocl_get_platform_info':
ocl.c:207: error: 'cl_platform_id' undeclared (first use in this function)
ocl.c:207: error: expected ';' before 'platform_id'
ocl.c:214: warning: implicit declaration of function 'getPlatformInfo'
ocl.c:214: error: 'platform_id' undeclared (first use in this function)
ocl.c:214: error: 'CL_PLATFORM_NAME' undeclared (first use in this function)
ocl.c:214: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c:215: error: 'CL_PLATFORM_VENDOR' undeclared (first use in this function)
ocl.c:215: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c:216: error: 'CL_PLATFORM_VERSION' undeclared (first use in this function)
ocl.c:216: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c:217: error: 'CL_PLATFORM_PROFILE' undeclared (first use in this function)
ocl.c:217: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c:218: error: 'CL_PLATFORM_EXTENSIONS' undeclared (first use in this function)
ocl.c:218: warning: passing argument 3 of 'SET_VECTOR_ELT' makes pointer from integer without a cast
ocl.c: In function 'ocl_ez_kernel':
ocl.c:229: error: 'cl_context' undeclared (first use in this function)
ocl.c:229: error: expected ';' before 'ctx'
ocl.c:232: error: 'cl_device_id' undeclared (first use in this function)
ocl.c:232: error: expected ';' before 'device_id'
ocl.c:233: error: 'cl_program' undeclared (first use in this function)
ocl.c:233: error: expected ';' before 'program'
ocl.c:234: error: 'cl_kernel' undeclared (first use in this function)
ocl.c:234: error: expected ';' before 'kernel'
ocl.c:242: error: 'ctx' undeclared (first use in this function)
ocl.c:242: warning: implicit declaration of function 'clCreateContext'
ocl.c:242: error: 'device_id' undeclared (first use in this function)
ocl.c:245: warning: implicit declaration of function 'mkContext'
ocl.c:245: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast
ocl.c:252: error: 'program' undeclared (first use in this function)
ocl.c:252: warning: implicit declaration of function 'clCreateProgramWithSource'
ocl.c:258: warning: implicit declaration of function 'clBuildProgram'
ocl.c:259: error: 'CL_SUCCESS' undeclared (first use in this function)
ocl.c:261: warning: implicit declaration of function 'clGetProgramBuildInfo'
ocl.c:261: error: 'CL_PROGRAM_BUILD_LOG' undeclared (first use in this function)
ocl.c:262: warning: implicit declaration of function 'clReleaseProgram'
ocl.c:266: error: 'kernel' undeclared (first use in this function)
ocl.c:266: warning: implicit declaration of function 'clCreateKernel'
ocl.c:272: warning: implicit declaration of function 'mkKernel'
ocl.c:272: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast
ocl.c: At top level:
ocl.c:346: error: expected specifier-qualifier-list before 'cl_mem'
ocl.c: In function 'ocl_call_context_fin':
ocl.c:362: error: 'ocl_call_context_t' has no member named 'finished'
ocl.c:362: warning: implicit declaration of function 'clFinish'
ocl.c:362: error: 'ocl_call_context_t' has no member named 'commands'
ocl.c:363: error: 'ocl_call_context_t' has no member named 'event'
ocl.c:363: warning: implicit declaration of function 'clReleaseEvent'
ocl.c:363: error: 'ocl_call_context_t' has no member named 'event'
ocl.c:364: error: 'ocl_call_context_t' has no member named 'output'
ocl.c:364: warning: implicit declaration of function 'clReleaseMemObject'
ocl.c:364: error: 'ocl_call_context_t' has no member named 'output'
ocl.c:365: error: 'ocl_call_context_t' has no member named 'float_args'
ocl.c:365: error: 'ocl_call_context_t' has no member named 'float_args'
ocl.c:366: error: 'ocl_call_context_t' has no member named 'float_out'
ocl.c:366: error: 'ocl_call_context_t' has no member named 'float_out'
ocl.c:367: error: 'ocl_call_context_t' has no member named 'mem_objects'
ocl.c:367: error: 'ocl_call_context_t' has no member named 'mem_objects'
ocl.c:367: error: 'clReleaseMemObject' undeclared (first use in this function)
ocl.c:368: error: 'ocl_call_context_t' has no member named 'commands'
ocl.c:368: warning: implicit declaration of function 'clReleaseCommandQueue'
ocl.c:368: error: 'ocl_call_context_t' has no member named 'commands'
ocl.c: In function 'ocl_call':
ocl.c:390: error: 'cl_kernel' undeclared (first use in this function)
ocl.c:390: error: expected ';' before 'kernel'
ocl.c:391: error: 'cl_context' undeclared (first use in this function)
ocl.c:391: error: expected ';' before 'context'
ocl.c:392: error: 'cl_command_queue' undeclared (first use in this function)
ocl.c:392: error: expected ';' before 'commands'
ocl.c:393: error: 'cl_device_id' undeclared (first use in this function)
ocl.c:393: error: expected ';' before 'device_id'
ocl.c:394: error: 'cl_mem' undeclared (first use in this function)
ocl.c:394: error: expected ';' before 'output'
ocl.c:395: error: 'cl_int' undeclared (first use in this function)
ocl.c:395: error: expected ';' before 'err'
ocl.c:397: warning: implicit declaration of function 'clGetKernelInfo'
ocl.c:397: error: 'kernel' undeclared (first use in this function)
ocl.c:397: error: 'CL_KERNEL_CONTEXT' undeclared (first use in this function)
ocl.c:397: error: 'context' undeclared (first use in this function)
ocl.c:397: error: 'CL_SUCCESS' undeclared (first use in this function)
ocl.c:419: error: 'ocl_call_context_t' has no member named 'output'
ocl.c:419: error: 'output' undeclared (first use in this function)
ocl.c:419: warning: implicit declaration of function 'clCreateBuffer'
ocl.c:419: error: 'CL_MEM_WRITE_ONLY' undeclared (first use in this function)
ocl.c:419: error: 'err' undeclared (first use in this function)
ocl.c:422: warning: implicit declaration of function 'clSetKernelArg'
ocl.c:426: error: 'ocl_call_context_t' has no member named 'commands'
ocl.c:426: error: 'commands' undeclared (first use in this function)
ocl.c:426: warning: implicit declaration of function 'clCreateCommandQueue'
ocl.c:426: error: 'device_id' undeclared (first use in this function)
ocl.c:430: error: 'ocl_call_context_t' has no member named 'float_args'
ocl.c:481: error: expected ';' before 'input'
ocl.c:482: error: 'input' undeclared (first use in this function)
ocl.c:484: error: 'ocl_call_context_t' has no member named 'mem_objects'
ocl.c:485: error: 'ocl_call_context_t' has no member named 'mem_objects'
ocl.c:486: error: 'ocl_call_context_t' has no member named 'mem_objects'
ocl.c:499: warning: implicit declaration of function 'clEnqueueNDRangeKernel'
ocl.c:499: error: 'ocl_call_context_t' has no member named 'event'
ocl.c:506: warning: implicit declaration of function 'clFlush'
ocl.c:507: error: 'ocl_call_context_t' has no member named 'ftres'
ocl.c:508: error: 'ocl_call_context_t' has no member named 'ftype'
ocl.c:509: error: 'ocl_call_context_t' has no member named 'on'
ocl.c:516: error: 'ocl_call_context_t' has no member named 'finished'
ocl.c:519: error: 'ocl_call_context_t' has no member named 'mem_objects'
ocl.c:520: error: 'ocl_call_context_t' has no member named 'mem_objects'
ocl.c:520: error: 'clReleaseMemObject' undeclared (first use in this function)
ocl.c:521: error: 'ocl_call_context_t' has no member named 'mem_objects'
ocl.c:525: error: 'ocl_call_context_t' has no member named 'float_args'
ocl.c:531: warning: implicit declaration of function 'clEnqueueReadBuffer'
ocl.c:531: error: 'CL_TRUE' undeclared (first use in this function)
ocl.c:543: error: 'ocl_call_context_t' has no member named 'float_out'
ocl.c: In function 'ocl_collect_call':
ocl.c:561: error: 'cl_int' undeclared (first use in this function)
ocl.c:561: error: expected ';' before 'err'
ocl.c:566: error: 'ocl_call_context_t' has no member named 'finished'
ocl.c:569: error: 'ocl_call_context_t' has no member named 'event'
ocl.c:570: error: expected ';' before 'status'
ocl.c:571: error: 'err' undeclared (first use in this function)
ocl.c:571: warning: implicit declaration of function 'clGetEventInfo'
ocl.c:571: error: 'ocl_call_context_t' has no member named 'event'
ocl.c:571: error: 'CL_EVENT_COMMAND_EXECUTION_STATUS' undeclared (first use in this function)
ocl.c:571: error: 'status' undeclared (first use in this function)
ocl.c:571: error: 'CL_SUCCESS' undeclared (first use in this function)
ocl.c:577: error: 'CL_COMPLETE' undeclared (first use in this function)
ocl.c:581: error: 'ocl_call_context_t' has no member named 'commands'
ocl.c:582: error: 'ocl_call_context_t' has no member named 'finished'
ocl.c:585: error: 'ocl_call_context_t' has no member named 'mem_objects'
ocl.c:586: error: 'ocl_call_context_t' has no member named 'mem_objects'
ocl.c:586: error: 'clReleaseMemObject' undeclared (first use in this function)
ocl.c:587: error: 'ocl_call_context_t' has no member named 'mem_objects'
ocl.c:589: error: 'ocl_call_context_t' has no member named 'float_args'
ocl.c:590: error: 'ocl_call_context_t' has no member named 'float_args'
ocl.c:591: error: 'ocl_call_context_t' has no member named 'float_args'
ocl.c:594: error: 'ocl_call_context_t' has no member named 'on'
ocl.c:595: error: 'ocl_call_context_t' has no member named 'ftres'
ocl.c:596: error: 'ocl_call_context_t' has no member named 'ftype'
ocl.c:597: error: 'ocl_call_context_t' has no member named 'ftres'
ocl.c:598: error: 'ocl_call_context_t' has no member named 'commands'
ocl.c:598: error: 'ocl_call_context_t' has no member named 'output'
ocl.c:598: error: 'CL_TRUE' undeclared (first use in this function)
ocl.c:610: error: 'ocl_call_context_t' has no member named 'float_out'
ocl.c:611: error: 'ocl_call_context_t' has no member named 'commands'
ocl.c:611: error: 'ocl_call_context_t' has no member named 'output'
ocl.c:616: error: 'ocl_call_context_t' has no member named 'commands'
ocl.c:616: error: 'ocl_call_context_t' has no member named 'output'
make: *** [ocl.o] Error 1
ERROR: compilation failed for package 'OpenCL'
* removing '/Volumes/Tiger/Builds/rforge/Rlib/osx9-2.16/OpenCL'

Build log for Windows 7 (R 3.0.x)

(OpenCL 0.1-3)
* installing to library 'z:/rforge/Rlib/win7-3.0'
* installing *source* package 'OpenCL' ...
** libs

*** arch - i386
gcc -m32 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O3 -Wall -std=gnu99 -mtune=core2 -c ocl.c -o ocl.o
ocl.c:6:23: fatal error: CL/opencl.h: No such file or directory
compilation terminated.
make: *** [ocl.o] Error 1
ERROR: compilation failed for package 'OpenCL'
* removing 'z:/rforge/Rlib/win7-3.0/OpenCL'