Fixed an MSVC compilation error due to large strings
parent
9bedaa752d
commit
0f6dd01e51
|
@ -43,8 +43,6 @@
|
|||
// literal). Comment-out this line for syntax-highlighting when developing.
|
||||
R"(
|
||||
|
||||
// =================================================================================================
|
||||
|
||||
// Parameters set by the tuner or by the database. Here they are given a basic default value in case
|
||||
// this kernel file is used outside of the CLBlast library.
|
||||
#ifndef GEMMK
|
||||
|
@ -397,9 +395,7 @@ INLINE_FUNC realN LocalToPrivateB(LOCAL_PTR realN* blm, const int _ni, const int
|
|||
}
|
||||
#endif
|
||||
|
||||
// =================================================================================================
|
||||
|
||||
// End of the C++11 raw string literal
|
||||
)"
|
||||
// End of the C++11 raw string literal
|
||||
|
||||
// =================================================================================================
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
// literal). Comment-out this line for syntax-highlighting when developing.
|
||||
R"(
|
||||
|
||||
// =================================================================================================
|
||||
|
||||
// The vectorised multiply-add function
|
||||
INLINE_FUNC realM MultiplyAddVector(realM cvec, const realM avec, const real bval) {
|
||||
#if USE_VECTOR_MAD == 1
|
||||
|
@ -171,9 +169,7 @@ INLINE_FUNC void StoreResults(__global realM* cgm, realM c_value, const int _mi,
|
|||
cgm[index] = result;
|
||||
}
|
||||
|
||||
// =================================================================================================
|
||||
|
||||
// End of the C++11 raw string literal
|
||||
)"
|
||||
// End of the C++11 raw string literal
|
||||
|
||||
// =================================================================================================
|
||||
|
|
|
@ -15,14 +15,12 @@
|
|||
// literal). Comment-out this line for syntax-highlighting when developing.
|
||||
R"(
|
||||
|
||||
// =================================================================================================
|
||||
|
||||
// A common interface for subgroup functions
|
||||
|
||||
#if USE_SUBGROUP_SHUFFLING == 1
|
||||
|
||||
INLINE_FUNC int clblast_get_sub_group_local_id() {
|
||||
|
||||
|
||||
// Intel extension
|
||||
#if SUBGROUP_SHUFFLING_INTEL == 1
|
||||
return get_sub_group_local_id();
|
||||
|
@ -36,7 +34,7 @@ INLINE_FUNC int clblast_get_sub_group_local_id() {
|
|||
}
|
||||
|
||||
INLINE_FUNC realN clblast_sub_group_shuffle(realN reg, int src) {
|
||||
|
||||
|
||||
// Intel extension
|
||||
#if SUBGROUP_SHUFFLING_INTEL == 1
|
||||
return intel_sub_group_shuffle(reg, src);
|
||||
|
@ -310,9 +308,7 @@ INLINE_FUNC void XgemmBody(const int kSizeM, const int kSizeN, const int kSizeK,
|
|||
}
|
||||
}
|
||||
|
||||
// =================================================================================================
|
||||
|
||||
// End of the C++11 raw string literal
|
||||
)"
|
||||
// End of the C++11 raw string literal
|
||||
|
||||
// =================================================================================================
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
// literal). Comment-out this line for syntax-highlighting when developing.
|
||||
R"(
|
||||
|
||||
// =================================================================================================
|
||||
// The upper-triangular and lower-triangular kernels are only used in special cases
|
||||
#if defined(ROUTINE_SYRK) || defined(ROUTINE_HERK) || defined(ROUTINE_SYR2K) || defined(ROUTINE_HER2K)
|
||||
|
||||
|
@ -132,9 +131,8 @@ void Xgemm(const int kSizeM, const int kSizeN, const int kSizeK,
|
|||
}
|
||||
|
||||
#endif
|
||||
// =================================================================================================
|
||||
|
||||
// End of the C++11 raw string literal
|
||||
)"
|
||||
// End of the C++11 raw string literal
|
||||
|
||||
// =================================================================================================
|
||||
|
|
Loading…
Reference in New Issue