Move DeviceInfo into GPU traits
[alexxy/gromacs.git] / src / gromacs / gpu_utils / cudautils.cuh
index 618808d03bcbe7c853555716830c281d0c8d7624..71d9b7dac45dac38ac76b96357cdec6b91e0acde 100644 (file)
@@ -142,19 +142,6 @@ enum class GpuApiCallBehavior;
 
 #endif /* CHECK_CUDA_ERRORS */
 
-/*! \brief CUDA device information.
- *
- * The CUDA device information is queried and set at detection and contains
- * both information about the device/hardware returned by the runtime as well
- * as additional data like support status.
- */
-struct gmx_device_info_t
-{
-    int            id;   /* id of the CUDA device */
-    cudaDeviceProp prop; /* CUDA device properties */
-    int            stat; /* result of the device check */
-};
-
 /*! Launches synchronous or asynchronous device to host memory copy.
  *
  *  The copy is launched in stream s or if not specified, in stream 0.