未验证 提交 6e1cbebe 编写于 作者: R Ramya Ramineni 提交者: GitHub

Hipify cooperative_groups headers (#3323)

Co-authored-by: NLogan Adams <114770087+loadams@users.noreply.github.com>
上级 4a3ca4e2
......@@ -5,7 +5,12 @@
#pragma once
#ifdef __HIP_PLATFORM_HCC__
#include <hip/hip_cooperative_groups.h>
#else
#include <cooperative_groups.h>
#endif
#include <cuda.h>
#include <cuda_fp16.h>
#include <stdio.h>
......
......@@ -9,7 +9,12 @@
#define HALF_PRECISION_AVAILABLE = 1
#endif
#ifdef __HIP_PLATFORM_HCC__
#include <hip/hip_cooperative_groups.h>
#else
#include <cooperative_groups.h>
#endif
#include <cuda.h>
#include <cuda_fp16.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册