Skip to content

[Feature Request] [WebGPU] Expose lazy_clear_resource_on_first_use option #32080

Description

Describe the feature request

It's a requirement from Google to improve the chromium security:
As mentioned in https://issues.chromium.org/issues/546082703:
WebGPU EP should also enable the lazy_clear_resource_on_first_use option to mitigate potential information leakage when a kernel does not completely initialize a GPU buffer.

We may need a PR similar to #31971 which exposes the enableRobustness provider option

Ningxin Hu (@huningxin) Belem Zhang (@ibelem) Jiajia Qin (@qjia7)

Describe scenario use case

WebNN will rely on WebGPU EP on ORT backend.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ep:WebGPUort-web webgpu providerep:WebNNWebNN execution providerfeature requestrequest for unsupported feature or enhancementplatform:webissues related to ONNX Runtime web; typically submitted using template

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions