Skip to content

Commit

Permalink
Fixes in nqueens.
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantinos Krommydas committed Nov 13, 2013
1 parent 2b4595b commit da21157
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions branch-and-bound/nqueens/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ all_local += nqueens-all-local
exec_local += nqueens-exec-local

nqueens-all-local:
cp $(top_srcdir)/branch-and-bound/nqueens/kernels.cl .
cp $(top_srcdir)/branch-and-bound/nqueens/kernels_nqueens.cl .

nqueens-exec-local:
cp $(top_srcdir)/branch-and-bound/nqueens/kernels.cl ${DESTDIR}${bindir}
cp $(top_srcdir)/branch-and-bound/nqueens/kernels_nqueens.cl ${DESTDIR}${bindir}
2 changes: 1 addition & 1 deletion branch-and-bound/nqueens/nqueen_cl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void NQueenSolver::InitKernels(int i, int block_size)
}

// load program
std::ifstream in("kernels.cl");
std::ifstream in("kernels_nqueens.cl");
in.seekg(0, std::ios_base::end);
std::ifstream::pos_type size = in.tellg();
in.seekg(0, std::ios_base::beg);
Expand Down

0 comments on commit da21157

Please sign in to comment.