dpctl.SyclDevice.local_mem_type

SyclDevice.local_mem_type

Returns the type of local memory supported by the device.

Returns:

The type of local memory (none, local, or global).

Return type:

dpctl.local_mem_type

Raises:

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