OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[GPU][doc] Documentation improvement for GPU shared memory adjust (#38175)
Mingyu Kim2d4c48048162
diff --git a/src/plugins/intel_gpu/docs/debugging_guide.md b/src/plugins/intel_gpu/docs/debugging_guide.mdindex 14dbb64685c..70ed0a5ff38 100644--- a/src/plugins/intel_gpu/docs/debugging_guide.md+++ b/src/plugins/intel_gpu/docs/debugging_guide.md@@ -8,11 +8,23 @@ During execution, OpenCL may return an out-of-resource (OOR) error. This can hap* **Actual resource exhaustion**: The system runs out of resources—for example, because the workload requires more memory than is available.* **GPU execution failures reported as OOR**: Some GPU-side failures do not have dedicated OpenCL error codes. In these cases, the driver may report the failure as an OOR error. A known (and common) example—starting from Xe2— is a page fault inside a GPU kernel. When this occurs, the GPU may report OOR even though the root cause is not memory pressure.+### Adjusting shared memory size for integrated GPU+* For integrated Intel® Arc™ GPUs on Windows 10 or 11 systems with more than 10 GB of system memory, GPU shared memory can be increased in Intel Graphics Software under `Graphics > General > Shared GPU Memory Override`, if the setting is available and not already at its upper limit.+* Alternatively, you can edit the registry directly+ * Registry path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers\MemoryManager+ * Value name: SystemPartitionCommitLimitPercentage+ * Type: DWORD+ * Value: 5–100 (decimal; percentage of system RAM that can be allocated to the GPU)+ * If this value does not exist, the Windows default is 50%. However, Intel’s official driver for MTL and later platforms sets it to 57% during installation.+ * You must restart Windows after making the change for it to take effect.+ * The allowed memory range is rounded to stay between 4 GB and the amount of memory available to the operating system minus 4 GB.+### Steps to Debug OOR Issues1. **Verify Memory Consumption**First, assess whether memory usage is within a reasonable range.- * Use the [OV_VERBOSE](gpu_debug_utils.md#gpu-plugin-debug-utils) logs or+ * You can check global GPU memory consumption from Windows task manager, or+ * Use the [OV_VERBOSE](gpu_debug_utils.md#gpu-plugin-debug-utils) logs, or* Examine memory allocations using *CLI_CallLogging* from the [opencl-intercept-layer](https://github.com/intel/opencl-intercept-layer/)If memory consumption is unexpectedly high, investigate: