Skip to content

Commit

Permalink
add resnet to benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
patflick committed Jul 20, 2017
1 parent ee24338 commit 70abeae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ all: alexnet resnet benchmark_wino layerwise gputop
HEADERS=function.hpp layers.hpp miopen.hpp multi_layers.hpp tensor.hpp utils.hpp

benchmark: all
./benchmark_wino | tee wino.log && ./layerwise | tee layerwise.log && ./alexnet | tee alexnet.log
./benchmark_wino | tee wino.log && ./layerwise | tee layerwise.log && ./alexnet | tee alexnet.log && ./resnet | tee resnet50.log

alexnet: alexnet.cpp $(HEADERS)
$(HIPCC) $(HIPCC_FLAGS) alexnet.cpp $(LD_FLAGS) -o $@
Expand Down
2 changes: 1 addition & 1 deletion benchmark_wino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int main(int argc, char *argv[])

// benchmark fwd
BenchmarkLogger::new_session("wino_conv");
BenchmarkLogger::fwd_layer_benchmark(m, 1000);
BenchmarkLogger::fwd_layer_benchmark(m, 5000);

return 0;
}

0 comments on commit 70abeae

Please sign in to comment.