Skip to content

Commit

Permalink
[Bugfix] Kernel name fix, compilation err fix (#2446)
Browse files Browse the repository at this point in the history
  • Loading branch information
cderb authored Oct 11, 2023
1 parent 8c4239d commit 1d6db53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/kernels/gpu_reference_kernel/fp8_kern_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@

#define KERNEL_NAME_SUFFIX CAT(CAT(INPUT_TYPE, _), CAT(CAT(WEIGHTS_TYPE, _), OUTPUT_TYPE))

#define FWD_KERNEL_NAME CAT(naive_conv_packed_fwd_nchw_, KERNEL_NAME_SUFFIX)
#define BWD_KERNEL_NAME CAT(naive_conv_packed_bwd_nchw_, KERNEL_NAME_SUFFIX)
#define WRW_KERNEL_NAME CAT(naive_conv_packed_wrw_nchw_, KERNEL_NAME_SUFFIX)
#define FWD_KERNEL_NAME CAT(naive_conv_nonpacked_fwd_nchw_, KERNEL_NAME_SUFFIX)
#define BWD_KERNEL_NAME CAT(naive_conv_nonpacked_bwd_nchw_, KERNEL_NAME_SUFFIX)
#define WRW_KERNEL_NAME CAT(naive_conv_nonpacked_wrw_nchw_, KERNEL_NAME_SUFFIX)
2 changes: 1 addition & 1 deletion src/kernels/gpu_reference_kernel/fp8_naive_conv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef MIOPEN_DONT_USE_HIP_RUNTIME_HEADERS
#include <hip/hip_fp16.h>
#include <hip/hip_runtime.h>
#include <half.hpp>
//#include <half.hpp>
#include <hip/hip_bfloat16.h>
#endif

Expand Down

0 comments on commit 1d6db53

Please sign in to comment.