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

Change gradle to 5.6.4; Fix the bug when metrics are too long #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/src/main/jni/roofline/GPUdriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -642,10 +642,10 @@ Java_com_google_gables_Roofline_GPUExecute(JNIEnv *env, jobject thiz, jobject as
uint64_t total_bytes = t * working_set_size * bytes_per_elem * mem_accesses_per_elem;
uint64_t total_flops = t * working_set_size * nFlops * flops_per_elem;

results << std::right << std::setw(12) << working_set_size * bytes_per_elem
<< std::right << std::setw(12) << t
<< std::right << std::setw(15) << total_seconds * 1000000
<< std::right << std::setw(12) << total_bytes
results << std::right << std::setw(12) << working_set_size * bytes_per_elem << " "
<< std::right << std::setw(12) << t << " "
<< std::right << std::setw(15) << total_seconds * 1000000 << " "
<< std::right << std::setw(12) << total_bytes << " "
<< std::right << std::setw(12) << total_flops
<< std::endl;

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip