Remove stream from GPU kernel launch config
[alexxy/gromacs.git] / src / gromacs / gpu_utils / gputraits_ocl.h
index 0438c084d1a5348522bca08c6fecdc864e23c846..c8219e5c78c2d638df8347390e37e791ae4b4783 100644 (file)
@@ -89,10 +89,12 @@ using CommandEvent = cl_event;
  */
 struct KernelLaunchConfig
 {
-    size_t           gridSize[3]      = { 1, 1, 1 }; //!< Work groups (CUDA blocks) counts
-    size_t           blockSize[3]     = { 1, 1, 1 }; //!< Per work group (CUDA block) thread counts
-    size_t           sharedMemorySize = 0;           //!< Shared memory size in bytes
-    cl_command_queue stream           = nullptr;     //!< Stream to launch kernel in
+    //! Work groups (CUDA blocks) counts
+    size_t gridSize[3] = { 1, 1, 1 };
+    //! Per work group (CUDA block) thread counts
+    size_t blockSize[3] = { 1, 1, 1 };
+    //! Shared memory size in bytes
+    size_t sharedMemorySize = 0;
 };
 
 /*! \brief Sets whether device code can use arrays that are embedded in structs.