Unverified Commit bb26118c authored by Po Yen Chen's avatar Po Yen Chen Committed by GitHub
Browse files

Only call iglp_opt(1) on certain arch (#1195)

parent 62db01c2
...@@ -80,7 +80,9 @@ struct GridwiseGemmPipeline_v2 ...@@ -80,7 +80,9 @@ struct GridwiseGemmPipeline_v2
do do
{ {
#if CK_EXPERIMENTAL_PIPELINE_V2_IGLP_OPT #if CK_EXPERIMENTAL_PIPELINE_V2_IGLP_OPT
#if defined(__gfx90a__) || defined(__gfx940__) || defined(__gfx941__) || defined(__gfx942__)
__builtin_amdgcn_iglp_opt(CK_EXPERIMENTAL_PIPELINE_V2_IGLP_OPT); __builtin_amdgcn_iglp_opt(CK_EXPERIMENTAL_PIPELINE_V2_IGLP_OPT);
#endif
#endif #endif
block_sync_lds(); block_sync_lds();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment