Skip to content

Visible Memory on Intel ARC GPUs for OpenCL and Level Zero #586

Open
@jjfumero

Description

@jjfumero

I am using the Intel ARC 750 GPU, which has 8GB of memory. However, when running OpenCL and Level Zero, I only see 6..3 GB.

Output from clinfo using Windows WSL:

  ... 
  Global memory size                              6791413760 (6.325GiB)

I wonder about the reasons not to see the whole GPU global memory space for OpenCL/Level Zero. Is this a bug?

The same happens for Linux Ubuntu 22.04 and the latest compute runtime driver 22.43.24558.

An example of just querying the device info for both Level Zero and OpenCL:

Driver: SPIRV
  Total number of SPIRV devices  : 1
        SPIRV -- SPIRV LevelZero - Intel(R) Graphics [0x56a1]
                Global Memory Size: 6.3 GB
                Local Memory Size: 64.0 KB
                Workgroup Dimensions: 3
                Total Number of Block Threads: 1024
                Max WorkGroup Configuration: [1024, 1024, 1024]
                Device OpenCL C version:  (LEVEL ZERO) 1.3

Driver: OpenCL
  Total number of OpenCL devices  : 1
        OPENCL --  [Intel(R) OpenCL HD Graphics] -- Intel(R) Graphics [0x56a1]
                Global Memory Size: 6.3 GB
                Local Memory Size: 64.0 KB
                Workgroup Dimensions: 3
                Total Number of Block Threads: 1024
                Max WorkGroup Configuration: [1024, 1024, 1024]
                Device OpenCL C version: OpenCL C 1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions