Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
fixing param names; removing generic; renaming apps
Browse files Browse the repository at this point in the history
  • Loading branch information
bkj committed Nov 20, 2020
1 parent 9533cdc commit 8db0533
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 116 deletions.
2 changes: 1 addition & 1 deletion examples/color/color.cu
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <cstdlib> // EXIT_SUCCESS
#include <set>

#include <gunrock/applications/color/color_implementation.hxx>
#include <gunrock/applications/color.hxx>

using namespace gunrock;
using namespace memory;
Expand Down
15 changes: 0 additions & 15 deletions examples/generic/Makefile

This file was deleted.

88 changes: 0 additions & 88 deletions examples/generic/generic.cu

This file was deleted.

2 changes: 1 addition & 1 deletion examples/sssp/sssp.cu
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <cstdlib> // EXIT_SUCCESS

#include <gunrock/applications/sssp/sssp_implementation.hxx>
#include <gunrock/applications/sssp.hxx>

using namespace gunrock;
using namespace memory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ struct param_t {
vertex_t single_source;

param_t(
vertex_t single_source_
vertex_t _single_source
) :
single_source(single_source_) {}
single_source(_single_source) {}
};

template <typename meta_t>
Expand All @@ -39,11 +39,11 @@ struct result_t {
vertex_t* predecessors;

result_t(
weight_t* distances_,
vertex_t* predecessors_
weight_t* _distances,
vertex_t* _predecessors
) :
distances(distances_),
predecessors(predecessors_) {}
distances(_distances),
predecessors(_predecessors) {}
};

template <typename graph_t, typename meta_t, typename param_t, typename result_t>
Expand Down
10 changes: 5 additions & 5 deletions gunrock/framework/problem.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ struct problem_t {
problem_t(
graph_t* G,
meta_t* meta,
param_t* param_,
result_t* result_,
param_t* _param,
result_t* _result,
std::shared_ptr<cuda::multi_context_t> _context
) :
graph_slice(G),
meta_slice(meta),
param(param_),
result(result_),
meta_slice(meta),
param(_param),
result(_result),
context(_context) { }

// Disable copy ctor and assignment operator.
Expand Down

0 comments on commit 8db0533

Please sign in to comment.