fix: add ceil_div + DEVICE_INLINE to device_utils.cuh
ceil_div<T> was in xllm utils.h (removed for glog). DEVICE_INLINE macro also moved to shared header.
This commit is contained in:
@@ -25,10 +25,6 @@ limitations under the License.
|
||||
|
||||
#include "device_utils.cuh"
|
||||
|
||||
#ifndef DEVICE_INLINE
|
||||
#define DEVICE_INLINE __device__ __forceinline__
|
||||
#define HOST_DEVICE_INLINE __host__ __device__ __forceinline__
|
||||
#endif
|
||||
|
||||
|
||||
namespace xllm::kernel::cuda {
|
||||
|
||||
Reference in New Issue
Block a user