Fix compilation when enabling indirect function calls (#1994)
Fix compilation when enabling indirect function calls.
[ROCm/rccl commit: 1678bb9ae7]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b12399898d
Коммит
3da73a7526
@@ -154,7 +154,6 @@ union alignas(16) BytePack<16> {
|
||||
uint32_t u32[4];
|
||||
uint64_t u64[2];
|
||||
ulong2 ul2[1], native;
|
||||
#if !defined(USE_INDIRECT_FUNCTION_CALL) || defined(__gfx942__) || defined(__gfx950__)
|
||||
inline __device__ BytePack<16>() = default;
|
||||
inline __device__ BytePack<16>(const BytePack<16>& other) {
|
||||
*this = other;
|
||||
@@ -164,7 +163,6 @@ union alignas(16) BytePack<16> {
|
||||
u64[1] = other.u64[1];
|
||||
return *this;
|
||||
}
|
||||
#endif
|
||||
};
|
||||
template<int Size>
|
||||
union BytePack {
|
||||
|
||||
Ссылка в новой задаче
Block a user