Skip to contentSkip to conversation

New: gallium/opencl doesnt support includes for opencl kernels

Bug 52054 [email protected] 1 participant 3 messages Jul 13, 2012 – Aug 21, 2014

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=52054

             Bug #: 52054
           Summary: gallium/opencl doesnt support includes for opencl
                    kernels
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: [email protected]
        ReportedBy: [email protected]

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
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 52054] gallium/opencl doesnt support includes for opencl kernels

https://bugs.freedesktop.org/show_bug.cgi?id=52054

--- Comment #1 from Tom Stellard <[email protected]> ---
This was reported as working by another user. Please re-open if it doesn't work for you.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 52054] gallium/opencl doesnt support includes for opencl kernels

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=52054

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel