Add missing includes
authorRoland Schulz <roland.schulz@intel.com>
Wed, 29 Sep 2021 22:10:12 +0000 (15:10 -0700)
committerRoland Schulz <roland.schulz@intel.com>
Wed, 29 Sep 2021 22:10:12 +0000 (15:10 -0700)
src/gromacs/gpu_utils/device_event_sycl.h
src/gromacs/hardware/device_management_sycl.cpp

index f5228130f389170863a47cd2aefaf1c377fd975d..3404aa59f6a88ae0925904a1171e6e9f6ef31f15 100644 (file)
@@ -50,6 +50,7 @@
 #ifndef GMX_GPU_UTILS_DEVICE_EVENT_SYCL_H
 #define GMX_GPU_UTILS_DEVICE_EVENT_SYCL_H
 
+#include <algorithm>
 #include <vector>
 
 #include "gromacs/gpu_utils/device_stream.h"
index c021062f670338f21dfca1a06eddadc0619c0d97..7de91ab002af1a46a621815f73edce1caafc86c1 100644 (file)
@@ -45,6 +45,7 @@
 #include "gmxpre.h"
 
 #include <map>
+#include <optional>
 
 #include "gromacs/gpu_utils/gmxsycl.h"
 #include "gromacs/hardware/device_management.h"