Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 939803 | Differences between
and this patch

Collapse All | Expand All

(-)a/.pick_status.json (-1 / +1 lines)
Lines 12474-12480 Link Here
12474
        "description": "rusticl: do not use CL vector types in bindings and code",
12474
        "description": "rusticl: do not use CL vector types in bindings and code",
12475
        "nominated": false,
12475
        "nominated": false,
12476
        "nomination_type": 3,
12476
        "nomination_type": 3,
12477
        "resolution": 4,
12477
        "resolution": 1,
12478
        "main_sha": null,
12478
        "main_sha": null,
12479
        "because_sha": null,
12479
        "because_sha": null,
12480
        "notes": null
12480
        "notes": null
(-)a/src/gallium/frontends/rusticl/api/device.rs (-1 / +1 lines)
Lines 196-202 impl CLInfo<cl_device_info> for cl_device_id { Link Here
196
            // TODO proper retrival from devices
196
            // TODO proper retrival from devices
197
            CL_DEVICE_MEM_BASE_ADDR_ALIGN => cl_prop::<cl_uint>(0x1000),
197
            CL_DEVICE_MEM_BASE_ADDR_ALIGN => cl_prop::<cl_uint>(0x1000),
198
            CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE => {
198
            CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE => {
199
                cl_prop::<cl_uint>(size_of::<cl_ulong16>() as cl_uint)
199
                cl_prop::<cl_uint>(16 * size_of::<cl_ulong>() as cl_uint)
200
            }
200
            }
201
            CL_DEVICE_NAME => cl_prop::<&str>(&dev.screen().name()),
201
            CL_DEVICE_NAME => cl_prop::<&str>(&dev.screen().name()),
202
            CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR => cl_prop::<cl_uint>(1),
202
            CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR => cl_prop::<cl_uint>(1),
(-)a/src/gallium/frontends/rusticl/meson.build (+1 lines)
Lines 157-162 rusticl_opencl_bindings_rs = rust.bindgen( Link Here
157
    '--raw-line', 'unsafe impl std::marker::Send for _cl_image_desc {}',
157
    '--raw-line', 'unsafe impl std::marker::Send for _cl_image_desc {}',
158
    '--raw-line', 'unsafe impl std::marker::Sync for _cl_image_desc {}',
158
    '--raw-line', 'unsafe impl std::marker::Sync for _cl_image_desc {}',
159
    '--allowlist-type', 'cl_.*',
159
    '--allowlist-type', 'cl_.*',
160
    '--blocklist-type', '(__)?cl_.*[2348(16)]',
160
    '--allowlist-type', 'cl.*_fn',
161
    '--allowlist-type', 'cl.*_fn',
161
    '--allowlist-var', 'CL_.*',
162
    '--allowlist-var', 'CL_.*',
162
    # needed for gl_sharing extension
163
    # needed for gl_sharing extension

Return to bug 939803