Skip to content

Commit

Permalink
Updated to version 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CNugteren committed Jun 26, 2017
1 parent 3225b69 commit 3c577cc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Development branch (next version)
Version 2.7.0
- CLTune now automatically ensures global size is a multiple of the local workgroup size
- Added GetBestResult() to the tuner's API to retrieve the best parameters programmatically
- Changed std::initalizer_list in the AddParameters API to std::vector
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX ${CMAKE_CURRENT_SOURCE_DIR}/cmake/cxx_fla
# CMake project details
project("cltune" CXX)
set(cltune_VERSION_MAJOR 2)
set(cltune_VERSION_MINOR 6)
set(cltune_VERSION_MINOR 7)
set(cltune_VERSION_PATCH 0)

# Options and their default values
Expand Down
2 changes: 0 additions & 2 deletions src/tuner_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,7 @@ TunerImpl::TunerResult TunerImpl::RunKernel(const std::string &source, const Ker

// Makes sure that the global size is a multiple of the local
for (auto i=size_t{0}; i<global.size(); ++i) {
printf("Global size at index %d: %zu ", i, global[i]);
global[i] = Ceil(global[i], local[i]);
printf("%zu\n", global[i]);
}

// Verifies the local memory usage of the kernel
Expand Down

0 comments on commit 3c577cc

Please sign in to comment.