dpctl.SyclDevice.global_mem_cache_type

SyclDevice.global_mem_cache_type

Global device cache memory type.

Example:
>>> import dpctl
>>> dev = dpctl.select_cpu_device()
>>> dev.global_mem_cache_type
<global_mem_cache_type.read_write: 4>
Returns:

type of cache memory

Return type:

global_mem_cache_type

Raises:

RuntimeError – If an unrecognized memory type is reported by runtime.