Skip to content

Commit

Permalink
Get rid of most warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangzihao Wang committed Nov 26, 2019
1 parent a0d6cdd commit 138e85b
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/bfs/test_bfs.cu
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ int main(int argc, char **argv) {

return app::Switch_Types<app::VERTEXT_U32B | app::VERTEXT_U64B |
app::SIZET_U32B | app::SIZET_U64B |
app::VALUET_U32B | app::DIRECTED | app::UNDIRECTED>(
app::VALUET_S32B | app::DIRECTED | app::UNDIRECTED>(
parameters, main_struct());
}

Expand Down
2 changes: 1 addition & 1 deletion examples/gtc/test_gtc.cu
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ int main(int argc, char **argv) {
// TODO: to uncomment
return app::Switch_Types<app::VERTEXT_U32B | // app::VERTEXT_U64B |
app::SIZET_U32B | // app::SIZET_U64B |
app::VALUET_U32B | app::DIRECTED | app::UNDIRECTED>(
app::VALUET_S32B | app::DIRECTED | app::UNDIRECTED>(
parameters, main_struct());
}

Expand Down
2 changes: 1 addition & 1 deletion examples/sssp/test_sssp.cu
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ int main(int argc, char **argv) {

return app::Switch_Types<app::VERTEXT_U32B | app::VERTEXT_U64B |
app::SIZET_U32B | app::SIZET_U64B |
app::VALUET_U32B | app::DIRECTED | app::UNDIRECTED>(
app::VALUET_S32B | app::DIRECTED | app::UNDIRECTED>(
parameters, main_struct());
}

Expand Down
2 changes: 1 addition & 1 deletion examples/vn/test_vn.cu
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ int main(int argc, char **argv) {

return app::Switch_Types<app::VERTEXT_U32B | app::VERTEXT_U64B |
app::SIZET_U32B | app::SIZET_U64B |
app::VALUET_U32B | app::DIRECTED | app::UNDIRECTED>(
app::VALUET_S32B | app::DIRECTED | app::UNDIRECTED>(
parameters, main_struct());
}

Expand Down
2 changes: 1 addition & 1 deletion gunrock/app/enactor_base.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ template <typename ParametersT>
cudaError_t UseParameters_enactor(ParametersT &parameters) {
cudaError_t retval = cudaSuccess;

if (!parameters.template Have("device"))
if (!parameters.Have("device"))
GUARD_CU(parameters.template Use<int>(
"device",
util::REQUIRED_ARGUMENT | util::MULTI_VALUE | util::OPTIONAL_PARAMETER,
Expand Down
2 changes: 1 addition & 1 deletion gunrock/app/problem_base.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ cudaError_t UseParameters_problem(ParametersT &parameters) {
cudaError_t retval = cudaSuccess;

GUARD_CU(partitioner::UseParameters(parameters));
if (!parameters.template Have("device"))
if (!parameters.Have("device"))
GUARD_CU(parameters.template Use<int>(
"device",
util::REQUIRED_ARGUMENT | util::MULTI_VALUE | util::OPTIONAL_PARAMETER,
Expand Down
1 change: 0 additions & 1 deletion gunrock/graphio/rmat.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ cudaError_t Build(

if (!grmat) {
cpu_timer.Start();
util::Location target = util::HOST;
#pragma omp parallel
{
int thread_num = omp_get_thread_num();
Expand Down

0 comments on commit 138e85b

Please sign in to comment.