Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefine _Float16 #41819

Merged
merged 1 commit into from
Jun 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
//#define GPU_DEBUG
#if defined(EDM_ML_DEBUG) || defined(GPU_DEBUG)
#define GPU_CHECK
#include <cstdio>
#endif

#include <cub/cub.cuh>
// prevent _Float16 defined by CUDA headers from hiding the ISO C type used by GCC
#ifdef _Float16
#undef _Float16
#endif

#include "CUDADataFormats/SiStripCluster/interface/SiStripClustersCUDA.h"
#include "CalibFormats/SiStripObjects/interface/SiStripClusterizerConditionsGPU.h"
#include "HeterogeneousCore/CUDAUtilities/interface/allocate_device.h"
#include "HeterogeneousCore/CUDAUtilities/interface/allocate_host.h"
#include "HeterogeneousCore/CUDAUtilities/interface/copyAsync.h"
#include "HeterogeneousCore/CUDAUtilities/interface/currentDevice.h"

#include "HeterogeneousCore/CUDAUtilities/interface/host_unique_ptr.h"
#include "HeterogeneousCore/CUDAUtilities/interface/device_unique_ptr.h"

#include "HeterogeneousCore/CUDAUtilities/interface/copyAsync.h"

#include "CUDADataFormats/SiStripCluster/interface/SiStripClustersCUDA.h"

#include "CalibFormats/SiStripObjects/interface/SiStripClusterizerConditionsGPU.h"
#include "HeterogeneousCore/CUDAUtilities/interface/host_unique_ptr.h"

#include "ChannelLocsGPU.h"
#include "SiStripRawToClusterGPUKernel.h"
#include "StripDataView.h"

//#define GPU_DEBUG
#if defined(EDM_ML_DEBUG) || defined(GPU_DEBUG)
#define GPU_CHECK
#include <cstdio>
#endif

using namespace stripgpu;
using ConditionsDeviceView = SiStripClusterizerConditionsGPU::Data::DeviceView;

Expand Down