return SuriListAppLayerProtocols();
}
+#ifdef __SC_CUDA_SUPPORT__
+ if (list_cuda_cards) {
+ return SuriListCudaCards();
+ }
+#endif
+
#ifdef REVISION
SCLogInfo("This is %s version %s (rev %s)", PROG_NAME, PROG_VER, xstr(REVISION));
#elif defined RELEASE
#ifdef __SC_CUDA_SUPPORT__
/* Init the CUDA environment */
SCCudaInitCudaEnvironment();
- if (list_cuda_cards) {
- SCCudaListCards();
- exit(EXIT_SUCCESS);
- }
CudaBufferInit();
#endif
*/
#include "suricata-common.h"
+#include "config.h"
#include "app-layer-detect-proto.h"
+#include "util-cuda.h"
int SuriListKeywords(const char *keyword_info)
{
AppLayerListSupportedProtocols();
exit(EXIT_SUCCESS);
}
+
+#ifdef __SC_CUDA_SUPPORT__
+int SuriListCudaCards()
+{
+ SCCudaInitCudaEnvironment();
+ SCCudaListCards();
+ exit(EXIT_SUCCESS);
+}
+#endif
int SuriListKeywords(const char *keyword_info);
int SuriListAppLayerProtocols();
+#ifdef __SC_CUDA_SUPPORT__
+int SuriListCudaCards();
+#endif
#endif /* __UTIL_RUNNING_MODES_H__ */