Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test case to run number of ALU instructions #500

Merged
merged 4 commits into from
Aug 13, 2024

Conversation

RenfengLiu
Copy link
Collaborator

@RenfengLiu RenfengLiu commented Aug 12, 2024

added a new knob vs-alu-instruction-count. The sample can be run with following knobs:
"enable-skybox": false,
"enable-spheres": false,
"enable-metrics": false,
"fullscreen-quads-count": 1,
"fullscreen-quads-type": "Solid_Color",
"fullscreen-quads-single-renderpass": true,
"alu-instruction-count": 200

@RenfengLiu
Copy link
Collaborator Author

RenfengLiu commented Aug 12, 2024

One issue with this sample is it's not exactly 100/200/300/4000 instructions in the Dive capture,

actually the number of instructions is the same, since it's using the loop in the shader. the cycles needed should be different though.

@wangra-google
Copy link
Collaborator

One issue with this sample is it's not exactly 100/200/300/4000 instructions in the Dive capture,

actually the number of instructions is the same, since it's using the loop in the shader. the cycles needed should be different though.

no worries, doesn't have to be the exact number, just want to see the ALU impact on power consumption

@RenfengLiu RenfengLiu force-pushed the power_consumption branch 3 times, most recently from 443fadc to 34fd586 Compare August 12, 2024 20:41
@RenfengLiu RenfengLiu marked this pull request as ready for review August 12, 2024 20:43
@RenfengLiu RenfengLiu merged commit 75ea89e into google:power_measurement Aug 13, 2024
3 of 5 checks passed
RenfengLiu added a commit to RenfengLiu/bigwheels that referenced this pull request Jan 23, 2025
added a new knob `alu-instruction-count`. The sample can be run with
following knobs:
 "enable-skybox": false,
    "enable-spheres": false,
    "enable-metrics": false,
    "fullscreen-quads-count": 1,
    "fullscreen-quads-type": "Solid_Color",
    "fullscreen-quads-single-renderpass": true,
    "alu-instruction-count": 200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants