Skip to content

Commit

Permalink
[Vulkan] Fix static analysis errors in vulkan_quantized_api_test.cpp (#…
Browse files Browse the repository at this point in the history
…97400)

Summary:
Fixes many static analysis and linter issues present in vulkan_quantized_api_test.cpp.
Replaces C-style rand function by Cpp rand functions.

Test Plan:
```
buck run --target-platforms ovr_config//platform/macos:arm64-fbsource -c pt.vulkan_full_precision=1 //xplat/caffe2:pt_vulkan_quantized_api_test_binAppleMac\#macosx-arm64
```

Differential Revision: D44315235

Pull Request resolved: #97400
Approved by: https://github.com/kimishpatel
  • Loading branch information
manuelcandales authored and pytorchmergebot committed Mar 23, 2023
1 parent c2d7508 commit 416bac5
Showing 1 changed file with 808 additions and 742 deletions.

0 comments on commit 416bac5

Please sign in to comment.