Skip to content
This repository has been archived by the owner on Sep 21, 2019. It is now read-only.

Regression observed on HIP/CUDA path after integrating cub-hip(hip_port_1.7.3) as a sub-module #8

Open
wants to merge 2 commits into
base: hip_port_1.7.3
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions cub/util_ptx.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ int RowMajorTid(int block_dim_x, int block_dim_y, int block_dim_z)
*/
__device__
__forceinline__
inline
//inline
unsigned int LaneId()
{
unsigned int ret;
Expand All @@ -523,7 +523,7 @@ unsigned int LaneId()
*/
__device__
__forceinline__
inline
//inline
unsigned int WarpId()
{
unsigned int ret;
Expand Down
4 changes: 3 additions & 1 deletion hip_helpers/forwarder.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#ifndef HELPER_FORWARDER
#define HELPER_FORWARDER
#include <type_traits>
#include <utility>

Expand Down Expand Up @@ -44,3 +45,4 @@ namespace
return Forwarder<F>{std::move(f)};
}
}
#endif