Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mfep committed Sep 13, 2023
1 parent 635aa73 commit b3254e6
Show file tree
Hide file tree
Showing 8 changed files with 265 additions and 173 deletions.
420 changes: 256 additions & 164 deletions .github/workflows/presubmit.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)

set(CMAKE_CXX_STANDARD 14)

Expand Down
2 changes: 1 addition & 1 deletion lib/src/Extensions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Note: cmake 3.7 is needed to use OpenCL::OpenCL.
# Older versions may work by explicitly specifying OpenCL_INCLUDE_DIRS and OpenCL_LIBRARIES.
cmake_minimum_required(VERSION 3.7 FATAL_ERROR)
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)

set(CMAKE_CXX_STANDARD 11)
Expand Down
4 changes: 2 additions & 2 deletions samples/core/copybuffer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int main(int argc, char** argv)
if (!strcmp(argv[i], "-d"))
{
++i;
if (i < static_cast<size_t>(argc))
if (i < argc)
{
deviceIndex =
static_cast<cl_uint>(strtoul(argv[i], NULL, 10));
Expand All @@ -109,7 +109,7 @@ int main(int argc, char** argv)
else if (!strcmp(argv[i], "-p"))
{
++i;
if (i < static_cast<size_t>(argc))
if (i < argc)
{
platformIndex =
static_cast<cl_uint>(strtoul(argv[i], NULL, 10));
Expand Down
4 changes: 2 additions & 2 deletions samples/core/copybufferkernel/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ int main(int argc, char** argv)
if (!strcmp(argv[i], "-d"))
{
++i;
if (i < static_cast<size_t>(argc))
if (i < argc)
{
deviceIndex =
static_cast<cl_uint>(strtoul(argv[i], NULL, 10));
Expand All @@ -120,7 +120,7 @@ int main(int argc, char** argv)
else if (!strcmp(argv[i], "-p"))
{
++i;
if (i < static_cast<size_t>(argc))
if (i < argc)
{
platformIndex =
static_cast<cl_uint>(strtoul(argv[i], NULL, 10));
Expand Down
2 changes: 1 addition & 1 deletion test/cmake/findmodule/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)

project(FindModuleTest)

Expand Down
2 changes: 1 addition & 1 deletion test/cmake/pkgconfig/platformenum/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)

project(PkgConfigTest-PlatformEnum)

Expand Down
2 changes: 1 addition & 1 deletion test/cmake/pkgconfig/useutil/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)

project(PkgConfigTest-UseUtil)

Expand Down

0 comments on commit b3254e6

Please sign in to comment.