Segmentation Fault GPU

grahamperrin

Daemon

Reaction score: 359
Messages: 1,201

… results …

Mine (off-topic from the segmentation fault, for which there's the bug report):

Code:
% clinfo
Number of platforms                               1
  Platform Name                                   Portable Computing Language
  Platform Vendor                                 The pocl project
  Platform Version                                OpenCL 1.2 pocl 1.6, Release+Asserts, LLVM 11.0.1, RELOC, SLEEF, DISTRO, POCL_DEBUG
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             POCL

  Platform Name                                   Portable Computing Language
Number of devices                                 1
  Device Name                                     Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
  Device Vendor                                   pocl
  Device Vendor ID                                0x6c636f70
  Device Version                                  OpenCL 1.2 pocl HSTR: pthread-x86_64-portbld-freebsd14.0-ivybridge
  Driver Version                                  1.6
  Device OpenCL C Version                         OpenCL C 1.2 pocl
  Device Type                                     CPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               4
  Max clock frequency                             2901MHz
  Device Partition                                (core)
    Max number of sub-devices                     4
    Supported partition types                     equally, by counts
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             4096x4096x4096
  Max work group size                             4096
  Preferred work group size multiple (kernel)     8
  Preferred / native vector sizes                 
    char                                                16 / 16     
    short                                               16 / 16     
    int                                                  8 / 8       
    long                                                 4 / 4       
    half                                                 0 / 0        (n/a)
    float                                                8 / 8       
    double                                               4 / 4        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              14492004352 (13.5GiB)
  Error Correction support                        No
  Max memory allocation                           4294967296 (4GiB)
  Unified memory for Host and Device              Yes
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        4194304 (4MiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            268435456 pixels
    Max 1D or 2D image array size                 2048 images
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                128
  Local memory type                               Global
  Local memory size                               262144 (256KiB)
  Max number of constant args                     8
  Max constant buffer size                        262144 (256KiB)
  Max size of kernel argument                     1024
  Queue properties                               
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      1ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
  printf() buffer size                            16777216 (16MiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Portable Computing Language
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [POCL]
  clCreateContext(NULL, ...) [default]            Success [POCL]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 Portable Computing Language
    Device Name                                   Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  Success (1)
    Platform Name                                 Portable Computing Language
    Device Name                                   Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 Portable Computing Language
    Device Name                                   Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.13
  ICD loader Profile                              OpenCL 3.0
%

Code:
% clpeak

Platform: Portable Computing Language
  Device: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
    Driver version  : 1.6 (FreeBSD)
    Compute units   : 4
    Clock frequency : 2901 MHz

    Global memory bandwidth (GBPS)
      float   : 9.72
      float2  : 13.48
      float4  : 15.96
      float8  : 16.08
      float16 : 15.42

    Single-precision compute (GFLOPS)
      float   : 3.22
      float2  : 6.44
      float4  : 13.13
      float8  : 26.13
      float16 : 51.52

    No half precision support! Skipped

    Double-precision compute (GFLOPS)
      double   : 3.26
      double2  : 6.54
      double4  : 13.11
      double8  : 25.86
      double16 : 50.05

    Integer compute (GIOPS)
      int   : 6.52
      int2  : 8.73
      int4  : 17.80
      int8  : 31.05
      int16 : 48.10

    Transfer bandwidth (GBPS)
      enqueueWriteBuffer         : 6.89
      enqueueReadBuffer          : 6.90
      enqueueMapBuffer(for read) : 35791.39
        memcpy from mapped ptr   : 7.29
      enqueueUnmap(after write)  : 46888.29
        memcpy to mapped ptr     : 7.71

    Kernel launch latency : 8.74 us

%

Code:
% drm_info
Node: /dev/dri/card0
├───Driver: radeon (ATI Radeon) version 2.50.0 (20080528)
│   ├───DRM_CLIENT_CAP_STEREO_3D supported
│   ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported
│   ├───DRM_CLIENT_CAP_ATOMIC not supported
│   ├───DRM_CLIENT_CAP_ASPECT_RATIO supported
│   ├───DRM_CLIENT_CAP_WRITEBACK_CONNECTORS not supported
│   ├───DRM_CAP_DUMB_BUFFER = 1
│   ├───DRM_CAP_VBLANK_HIGH_CRTC = 1
│   ├───DRM_CAP_DUMB_PREFERRED_DEPTH = 24
│   ├───DRM_CAP_DUMB_PREFER_SHADOW = 1
│   ├───DRM_CAP_PRIME = 3
│   ├───DRM_CAP_TIMESTAMP_MONOTONIC = 1
│   ├───DRM_CAP_ASYNC_PAGE_FLIP = 1
│   ├───DRM_CAP_CURSOR_WIDTH = 64
│   ├───DRM_CAP_CURSOR_HEIGHT = 64
│   ├───DRM_CAP_ADDFB2_MODIFIERS = 0
│   ├───DRM_CAP_PAGE_FLIP_TARGET = 1
│   ├───DRM_CAP_CRTC_IN_VBLANK_EVENT = 1
│   ├───DRM_CAP_SYNCOBJ = 0
│   └───DRM_CAP_SYNCOBJ_TIMELINE = 0
├───Device: PCI 1002:6841 Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7550M/7570M/7650M]
│   └───Available nodes: primary, render
├───Framebuffer size
│   ├───Width: [0, 16384]
│   └───Height: [0, 16384]
├───Connectors
│   ├───Connector 0
│   │   ├───Object ID: 54
│   │   ├───Type: LVDS
│   │   ├───Status: connected
│   │   ├───Physical size: 350x190 mm
│   │   ├───Subpixel: horizontal RGB
│   │   ├───Encoders: {0}
│   │   ├───Modes
│   │   │   ├───1600x900@60.03 preferred driver nhsync nvsync
│   │   │   ├───1600x900@40.02 driver nhsync nvsync
│   │   │   ├───1440x900@59.99 nhsync pvsync
│   │   │   ├───1280x854@59.95 nhsync pvsync
│   │   │   ├───1280x800@59.96 nhsync pvsync
│   │   │   ├───1280x720@59.97 nhsync pvsync
│   │   │   ├───1152x768@59.95 nhsync pvsync
│   │   │   ├───1024x768@59.95 nhsync pvsync
│   │   │   ├───800x600@59.96 nhsync pvsync
│   │   │   ├───848x480@59.94 nhsync pvsync
│   │   │   ├───720x480@59.94 nhsync pvsync
│   │   │   └───640x480@59.94 nhsync pvsync
│   │   └───Properties
│   │       ├───"EDID" (immutable): blob = 67
│   │       ├───"DPMS": enum {On, Standby, Suspend, Off} = On
│   │       ├───"link-status": enum {Good, Bad} = Good
│   │       ├───"non-desktop" (immutable): range [0, 1] = 0
│   │       ├───"TILE" (immutable): blob = 0
│   │       └───"scaling mode": enum {None, Full, Center, Full aspect} = Full
│   ├───Connector 1
│   │   ├───Object ID: 56
│   │   ├───Type: DisplayPort
│   │   ├───Status: disconnected
│   │   ├───Encoders: {1}
│   │   └───Properties
│   │       ├───"EDID" (immutable): blob = 0
│   │       ├───"DPMS": enum {On, Standby, Suspend, Off} = Off
│   │       ├───"link-status": enum {Good, Bad} = Good
│   │       ├───"non-desktop" (immutable): range [0, 1] = 0
│   │       ├───"TILE" (immutable): blob = 0
│   │       ├───"coherent": range [0, 1] = 1
│   │       ├───"underscan": enum {off, on, auto} = off
│   │       ├───"underscan hborder": range [0, 128] = 0
│   │       ├───"underscan vborder": range [0, 128] = 0
│   │       ├───"dither": enum {off, on} = off
│   │       ├───"scaling mode": enum {None, Full, Center, Full aspect} = None
│   │       ├───"audio": enum {off, on, auto} = auto
│   │       └───"output_csc": enum {bypass, tvrgb, ycbcr601, ycbcr709} = bypass
│   ├───Connector 2
│   │   ├───Object ID: 58
│   │   ├───Type: DisplayPort
│   │   ├───Status: connected
│   │   ├───Physical size: 600x340 mm
│   │   ├───Subpixel: horizontal RGB
│   │   ├───Encoders: {2}
│   │   ├───Modes
│   │   │   ├───1920x1080@60.00 preferred driver phsync pvsync
│   │   │   ├───1920x1080@60.00 driver phsync pvsync 16:9
│   │   │   ├───1920x1080@59.94 driver phsync pvsync 16:9
│   │   │   ├───1920x1080@60.00 driver phsync pvsync interlace 16:9
│   │   │   ├───1920x1080@59.94 driver phsync pvsync interlace 16:9
│   │   │   ├───1920x1080@50.00 driver phsync pvsync 16:9
│   │   │   ├───1920x1080@50.00 driver phsync pvsync interlace 16:9
│   │   │   ├───1680x1050@59.95 driver nhsync pvsync
│   │   │   ├───1280x1024@60.02 driver phsync pvsync
│   │   │   ├───1440x900@59.89 driver nhsync pvsync
│   │   │   ├───1280x720@60.00 driver phsync pvsync 16:9
│   │   │   ├───1280x720@60.00 driver phsync pvsync
│   │   │   ├───1280x720@59.94 driver phsync pvsync 16:9
│   │   │   ├───1280x720@50.00 driver phsync pvsync 16:9
│   │   │   ├───1024x768@60.00 driver nhsync nvsync
│   │   │   ├───800x600@60.32 driver phsync pvsync
│   │   │   ├───720x576@50.00 driver nhsync nvsync
│   │   │   ├───720x576@50.00 driver nhsync nvsync 4:3
│   │   │   ├───720x576@50.00 driver nhsync nvsync 16:9
│   │   │   ├───720x480@60.00 driver nhsync nvsync 16:9
│   │   │   ├───720x480@60.00 driver nhsync nvsync 4:3
│   │   │   ├───720x480@59.94 driver nhsync nvsync
│   │   │   ├───720x480@59.94 driver nhsync nvsync 4:3
│   │   │   ├───720x480@59.94 driver nhsync nvsync 16:9
│   │   │   ├───640x480@66.67 driver nhsync nvsync
│   │   │   ├───640x480@60.00 driver nhsync nvsync 4:3
│   │   │   ├───640x480@59.94 driver nhsync nvsync 4:3
│   │   │   ├───640x480@59.94 driver nhsync nvsync
│   │   │   └───720x400@70.08 driver nhsync pvsync
│   │   └───Properties
│   │       ├───"EDID" (immutable): blob = 64
│   │       ├───"DPMS": enum {On, Standby, Suspend, Off} = On
│   │       ├───"link-status": enum {Good, Bad} = Good
│   │       ├───"non-desktop" (immutable): range [0, 1] = 0
│   │       ├───"TILE" (immutable): blob = 0
│   │       ├───"coherent": range [0, 1] = 1
│   │       ├───"underscan": enum {off, on, auto} = off
│   │       ├───"underscan hborder": range [0, 128] = 0
│   │       ├───"underscan vborder": range [0, 128] = 0
│   │       ├───"dither": enum {off, on} = off
│   │       ├───"scaling mode": enum {None, Full, Center, Full aspect} = None
│   │       ├───"audio": enum {off, on, auto} = auto
│   │       └───"output_csc": enum {bypass, tvrgb, ycbcr601, ycbcr709} = bypass
│   ├───Connector 3
│   │   ├───Object ID: 60
│   │   ├───Type: DisplayPort
│   │   ├───Status: disconnected
│   │   ├───Encoders: {3}
│   │   └───Properties
│   │       ├───"EDID" (immutable): blob = 0
│   │       ├───"DPMS": enum {On, Standby, Suspend, Off} = Off
│   │       ├───"link-status": enum {Good, Bad} = Good
│   │       ├───"non-desktop" (immutable): range [0, 1] = 0
│   │       ├───"TILE" (immutable): blob = 0
│   │       ├───"coherent": range [0, 1] = 1
│   │       ├───"underscan": enum {off, on, auto} = off
│   │       ├───"underscan hborder": range [0, 128] = 0
│   │       ├───"underscan vborder": range [0, 128] = 0
│   │       ├───"dither": enum {off, on} = off
│   │       ├───"scaling mode": enum {None, Full, Center, Full aspect} = None
│   │       ├───"audio": enum {off, on, auto} = auto
│   │       └───"output_csc": enum {bypass, tvrgb, ycbcr601, ycbcr709} = bypass
│   └───Connector 4
│       ├───Object ID: 62
│       ├───Type: VGA
│       ├───Status: disconnected
│       ├───Encoders: {4}
│       └───Properties
│           ├───"EDID" (immutable): blob = 0
│           ├───"DPMS": enum {On, Standby, Suspend, Off} = Off
│           ├───"link-status": enum {Good, Bad} = Good
│           ├───"non-desktop" (immutable): range [0, 1] = 0
│           ├───"TILE" (immutable): blob = 0
│           ├───"load detection": range [0, 1] = 1
│           ├───"scaling mode": enum {None, Full, Center, Full aspect} = None
│           └───"output_csc": enum {bypass, tvrgb, ycbcr601, ycbcr709} = bypass
├───Encoders
│   ├───Encoder 0
│   │   ├───Object ID: 53
│   │   ├───Type: LVDS
│   │   ├───CRTCS: {0, 1, 2, 3, 4, 5}
│   │   └───Clones: {}
│   ├───Encoder 1
│   │   ├───Object ID: 55
│   │   ├───Type: TMDS
│   │   ├───CRTCS: {0, 1, 2, 3, 4, 5}
│   │   └───Clones: {}
│   ├───Encoder 2
│   │   ├───Object ID: 57
│   │   ├───Type: TMDS
│   │   ├───CRTCS: {0, 1, 2, 3, 4, 5}
│   │   └───Clones: {}
│   ├───Encoder 3
│   │   ├───Object ID: 59
│   │   ├───Type: TMDS
│   │   ├───CRTCS: {0, 1, 2, 3, 4, 5}
│   │   └───Clones: {}
│   └───Encoder 4
│       ├───Object ID: 61
│       ├───Type: TV DAC
│       ├───CRTCS: {0, 1, 2, 3, 4, 5}
│       └───Clones: {}
├───CRTCs
│   ├───CRTC 0
│   │   ├───Object ID: 42
│   │   ├───Mode: 1600x900@60.03 nhsync nvsync
│   │   ├───Gamma size: 256
│   │   └───Properties
│   ├───CRTC 1
│   │   ├───Object ID: 44
│   │   ├───Mode: 1920x1080@60.00 phsync pvsync
│   │   ├───Gamma size: 256
│   │   └───Properties
│   ├───CRTC 2
│   │   ├───Object ID: 46
│   │   ├───Gamma size: 256
│   │   └───Properties
│   ├───CRTC 3
│   │   ├───Object ID: 48
│   │   ├───Gamma size: 256
│   │   └───Properties
│   ├───CRTC 4
│   │   ├───Object ID: 50
│   │   ├───Gamma size: 256
│   │   └───Properties
│   └───CRTC 5
│       ├───Object ID: 52
│       ├───Gamma size: 256
│       └───Properties
└───Planes
    ├───Plane 0
    │   ├───Object ID: 41
    │   ├───CRTCs: {0}
    │   ├───FB ID: 63
    │   │   ├───Object ID: 63
    │   │   ├───Size: 3520x1080
    │   │   ├───Pitch: 14080
    │   │   ├───Bits per pixel: 32
    │   │   └───Depth: 24
    │   ├───Formats:
    │   │   ├───XRGB8888 (0x34325258)
    │   │   └───ARGB8888 (0x34325241)
    │   └───Properties
    │       └───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
    ├───Plane 1
    │   ├───Object ID: 43
    │   ├───CRTCs: {1}
    │   ├───FB ID: 63
    │   │   ├───Object ID: 63
    │   │   ├───Size: 3520x1080
    │   │   ├───Pitch: 14080
    │   │   ├───Bits per pixel: 32
    │   │   └───Depth: 24
    │   ├───Formats:
    │   │   ├───XRGB8888 (0x34325258)
    │   │   └───ARGB8888 (0x34325241)
    │   └───Properties
    │       └───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
    ├───Plane 2
    │   ├───Object ID: 45
    │   ├───CRTCs: {2}
    │   ├───FB ID: 0
    │   ├───Formats:
    │   │   ├───XRGB8888 (0x34325258)
    │   │   └───ARGB8888 (0x34325241)
    │   └───Properties
    │       └───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
    ├───Plane 3
    │   ├───Object ID: 47
    │   ├───CRTCs: {3}
    │   ├───FB ID: 0
    │   ├───Formats:
    │   │   ├───XRGB8888 (0x34325258)
    │   │   └───ARGB8888 (0x34325241)
    │   └───Properties
    │       └───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
    ├───Plane 4
    │   ├───Object ID: 49
    │   ├───CRTCs: {4}
    │   ├───FB ID: 0
    │   ├───Formats:
    │   │   ├───XRGB8888 (0x34325258)
    │   │   └───ARGB8888 (0x34325241)
    │   └───Properties
    │       └───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
    └───Plane 5
        ├───Object ID: 51
        ├───CRTCs: {5}
        ├───FB ID: 0
        ├───Formats:
        │   ├───XRGB8888 (0x34325258)
        │   └───ARGB8888 (0x34325241)
        └───Properties
            └───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
%

Circa 2013 HP EliteBook 8570p, AMD Thames [Radeon HD 7550M/7570M/7650M], FreeBSD 14.0-CURRENT.
 
Top