See . From a58f9fd4cb5d1120b9ce58c912ca87fa14720f73 Mon Sep 17 00:00:00 2001 From: pppig236 Date: Tue, 2 May 2023 15:19:52 -0400 Subject: [PATCH] fix include for rocm 5.5.0 --- base_test.hpp | 8 +------- common.hpp | 11 ++--------- rocm_bandwidth_test.hpp | 8 +------- 3 files changed, 4 insertions(+), 23 deletions(-) diff --git a/base_test.hpp b/base_test.hpp index 3e79de1..af99a85 100755 --- a/base_test.hpp +++ b/base_test.hpp @@ -42,14 +42,8 @@ #ifndef ROC_BANDWIDTH_TEST_BASE_H_ #define ROC_BANDWIDTH_TEST_BASE_H_ -#if(defined(RBT_HSA_VERSION_FLAT) && ((RBT_HSA_VERSION_FLAT) < RBT_HSA_VERSION_FILEREORG)) -// Hsa package with out file reorganization -// This is for backward compatibility and will be deprecated from future release -#include "hsa.h" -#else // Hsa package with file reorganization -#include "hsa/hsa.h" -#endif +#include #include #include #include diff --git a/common.hpp b/common.hpp index d2933a0..3c4858f 100755 --- a/common.hpp +++ b/common.hpp @@ -48,16 +48,9 @@ #include #include #include -#if(defined(RBT_HSA_VERSION_FLAT) && ((RBT_HSA_VERSION_FLAT) < RBT_HSA_VERSION_FILEREORG)) -// Hsa package with out file reorganization -// This is for backward compatibility and will be deprecated from future release -#include "hsa.h" -#include "hsa_ext_amd.h" -#else // Hsa package with file reorganization -#include "hsa/hsa.h" -#include "hsa/hsa_ext_amd.h" -#endif +#include +#include using namespace std; diff --git a/rocm_bandwidth_test.hpp b/rocm_bandwidth_test.hpp index f7eb338..b8550a7 100755 --- a/rocm_bandwidth_test.hpp +++ b/rocm_bandwidth_test.hpp @@ -43,14 +43,8 @@ #ifndef __ROC_BANDWIDTH_TEST_H__ #define __ROC_BANDWIDTH_TEST_H__ -#if(defined(RBT_HSA_VERSION_FLAT) && ((RBT_HSA_VERSION_FLAT) < RBT_HSA_VERSION_FILEREORG)) -// Hsa package with out file reorganization -// This is for backward compatibility and will be deprecated from future release -#include "hsa.h" -#else // Hsa package with file reorganization -#include "hsa/hsa.h" -#endif +#include #include "base_test.hpp" #include "common.hpp" -- 2.40.1 6fafb772c94adb8f05961b5b39f16'>polkit.scm
AgeCommit message (Expand)Author
2019-11-10gnu: polkit-qt: Use https for home-page....* gnu/packages/polkit.scm (home-page): Use https. Efraim Flashner
2019-11-10gnu: polkit-qt: Use 'mirror-url'....* gnu/packages/polkit.scm (polkit-qt)[source]: Use 'mirror-url' over direct kde url. Don't use name in source uri. Efraim Flashner
2019-07-03gnu: polkit: Remove GCC5 workaround....* gnu/packages/polkit.scm (polkit)[arguments]<#:configure-flags>: Remove "CXXFLAGS". Marius Bakke
2019-06-05gnu: polkit: Update to 0.116 [fixes CVE-2019-6133]....* gnu/packages/patches/polkit-CVE-2018-19788.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/polkit.scm (polkit): Update to 0.116. [source](patches): Remove. [inputs]: Change MOZJS-52 to MOZJS-60. [arguments]: Add CXXFLAGS=-std=gnu++11 to #:configure-flags. Marius Bakke
2019-04-04gnu: Move nss & co. to nss.scm....* gnu/packages/gnuzilla.scm (nspr, nss): Move to... * gnu/packages/nss.scm: ... here. New file. * gnu/packages/chromium.scm, gnu/packages/disk.scm, gnu/packages/freedesktop.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/java.scm, gnu/packages/libreoffice.scm, gnu/packages/linux.scm, gnu/packages/mate.scm, gnu/packages/openldap.scm, gnu/packages/package-management.scm, gnu/packages/password-utils.scm, gnu/packages/polkit.scm, gnu/packages/qt.scm, gnu/packages/sssd.scm, gnu/packages/storage.scm, gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/xml.scm: Adjust accordingly. * gnu/local.mk (GNU_SYSTEM_MODULES): Add nss.scm. Ludovic Courtès