Bug 52054 - gallium/opencl doesnt support includes for opencl kernels
Summary: gallium/opencl doesnt support includes for opencl kernels
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-13 15:19 UTC by Alexey Shvetsov
Modified: 2014-08-21 14:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Alexey Shvetsov 2012-07-13 15:19:52 UTC
when running tests for opencl enabled jtr (http://www.openwall.com/john/)
i get following error

OpenCL platform 0: Default, 1 device(s).
Using device 0: AMD JUNIPER
1 error generated.
Compilation log: cl_input:17:10: fatal error: 'opencl_rar.h' file not found
#include "opencl_rar.h"
         ^

OpenCL error (CL_INVALID_PROGRAM_EXECUTABLE) in file (rar_fmt.c) at line (588) - (Error creating kernel. Double-check kernel name?)

xeon ~ # ./clInfo 
Found 1 platform(s).
platform[(nil)]: profile: FULL_PROFILE
platform[(nil)]: version: OpenCL 1.1 MESA 
platform[(nil)]: name: Default
platform[(nil)]: vendor: Mesa
platform[(nil)]: extensions: 
platform[(nil)]: Found 1 device(s).
        device[0xc82360]: NAME: AMD JUNIPER
        device[0xc82360]: VENDOR: X.Org
        device[0xc82360]: PROFILE: FULL_PROFILE
        device[0xc82360]: VERSION: OpenCL 1.1 MESA 
        device[0xc82360]: EXTENSIONS: 
        device[0xc82360]: DRIVER_VERSION: 

        device[0xc82360]: Type: GPU 
        device[0xc82360]: EXECUTION_CAPABILITIES: Kernel 
        device[0xc82360]: GLOBAL_MEM_CACHE_TYPE: None (0)
        device[0xc82360]: CL_DEVICE_LOCAL_MEM_TYPE: Local (1)
        device[0xc82360]: SINGLE_FP_CONFIG: 0x7
        device[0xc82360]: QUEUE_PROPERTIES: 0x2

        device[0xc82360]: VENDOR_ID: 4098
        device[0xc82360]: MAX_COMPUTE_UNITS: 1
        device[0xc82360]: MAX_WORK_ITEM_DIMENSIONS: 3
        device[0xc82360]: MAX_WORK_GROUP_SIZE: 256
        device[0xc82360]: PREFERRED_VECTOR_WIDTH_CHAR: 16
        device[0xc82360]: PREFERRED_VECTOR_WIDTH_SHORT: 8
        device[0xc82360]: PREFERRED_VECTOR_WIDTH_INT: 4
        device[0xc82360]: PREFERRED_VECTOR_WIDTH_LONG: 2
        device[0xc82360]: PREFERRED_VECTOR_WIDTH_FLOAT: 4
        device[0xc82360]: PREFERRED_VECTOR_WIDTH_DOUBLE: 2
        device[0xc82360]: MAX_CLOCK_FREQUENCY: 0
        device[0xc82360]: ADDRESS_BITS: 32
        device[0xc82360]: MAX_MEM_ALLOC_SIZE: 0
        device[0xc82360]: IMAGE_SUPPORT: 1
        device[0xc82360]: MAX_READ_IMAGE_ARGS: 32
        device[0xc82360]: MAX_WRITE_IMAGE_ARGS: 32
        device[0xc82360]: IMAGE2D_MAX_WIDTH: 32768
        device[0xc82360]: IMAGE2D_MAX_HEIGHT: 32768
        device[0xc82360]: IMAGE3D_MAX_WIDTH: 32768
        device[0xc82360]: IMAGE3D_MAX_HEIGHT: 32768
        device[0xc82360]: IMAGE3D_MAX_DEPTH: 32768
        device[0xc82360]: MAX_SAMPLERS: 16
        device[0xc82360]: MAX_PARAMETER_SIZE: 1024
        device[0xc82360]: MEM_BASE_ADDR_ALIGN: 128
        device[0xc82360]: MIN_DATA_TYPE_ALIGN_SIZE: 128
        device[0xc82360]: GLOBAL_MEM_CACHELINE_SIZE: 0
        device[0xc82360]: GLOBAL_MEM_CACHE_SIZE: 0
        device[0xc82360]: GLOBAL_MEM_SIZE: 201326592
        device[0xc82360]: MAX_CONSTANT_BUFFER_SIZE: 65536
        device[0xc82360]: MAX_CONSTANT_ARGS: 1
        device[0xc82360]: LOCAL_MEM_SIZE: 32768
        device[0xc82360]: ERROR_CORRECTION_SUPPORT: 0
        device[0xc82360]: PROFILING_TIMER_RESOLUTION: 0
        device[0xc82360]: ENDIAN_LITTLE: 1
        device[0xc82360]: AVAILABLE: 1
        device[0xc82360]: COMPILER_AVAILABLE: 1
Comment 1 Tom Stellard 2014-08-21 14:10:39 UTC
This was reported as working by another user.  Please re-open if it doesn't work for you.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.