Skip to content

Refactor ifdef in DeviceProperties#1246

Closed
divyanshk wants to merge 1 commit intopytorch:mainfrom
divyanshk:export-D91710208
Closed

Refactor ifdef in DeviceProperties#1246
divyanshk wants to merge 1 commit intopytorch:mainfrom
divyanshk:export-D91710208

Conversation

@divyanshk
Copy link
Contributor

Summary:
Follow up to D91619041

Rearraged the ifdefs to make the file more readable - earlier we had three definitons of devicePropertiesJson, now one exists.

I tried to all CLANGTIDY's recommendations but it made way too many changes, will defer that for future cleanup.

Reviewed By: sanrise

Differential Revision: D91710208

@meta-cla meta-cla bot added the cla signed label Feb 3, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 3, 2026

@divyanshk has exported this pull request. If you are a Meta employee, you can view the originating Diff in D91710208.

Summary:

Follow up to D91619041

Rearraged the ifdefs to make the file more readable - earlier we had three definitons of `devicePropertiesJson`, now one exists.

I tried to all CLANGTIDY's recommendations but it made way too many changes, will defer that for future cleanup.

Reviewed By: sanrise

Differential Revision: D91710208
@meta-codesync
Copy link

meta-codesync bot commented Feb 4, 2026

This pull request has been merged in c09ff73.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants