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

Commit

Permalink
Add missing <algorithm> header includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolai Tasev committed Jun 5, 2017
1 parent 35db18c commit c2c777a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Problem Sets/Problem Set 1/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <cuda_runtime_api.h>
#include <cassert>
#include <cmath>
#include <algorithm>

#define checkCudaErrors(val) check( (val), #val, __FILE__, __LINE__)

Expand Down
1 change: 1 addition & 0 deletions Problem Sets/Problem Set 3/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <cuda_runtime_api.h>
#include <cassert>
#include <cmath>
#include <algorithm>

#define checkCudaErrors(val) check( (val), #val, __FILE__, __LINE__)

Expand Down
1 change: 1 addition & 0 deletions Problem Sets/Problem Set 4/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <cuda_runtime_api.h>
#include <cassert>
#include <cmath>
#include <algorithm>

#define checkCudaErrors(val) check( (val), #val, __FILE__, __LINE__)

Expand Down
1 change: 1 addition & 0 deletions Problem Sets/Problem Set 5/main.cu
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "utils.h"
#include "timer.h"
#include <cstdio>
#include <algorithm>
#if defined(_WIN16) || defined(_WIN32) || defined(_WIN64)
#include <Windows.h>
#else
Expand Down
1 change: 1 addition & 0 deletions Problem Sets/Problem Set 5/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <cuda_runtime_api.h>
#include <cassert>
#include <cmath>
#include <algorithm>

#define checkCudaErrors(val) check( (val), #val, __FILE__, __LINE__)

Expand Down
1 change: 1 addition & 0 deletions Problem Sets/Problem Set 6/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <cuda_runtime_api.h>
#include <cassert>
#include <cmath>
#include <algorithm>

#define checkCudaErrors(val) check( (val), #val, __FILE__, __LINE__)

Expand Down

0 comments on commit c2c777a

Please sign in to comment.