File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
offload/plugins-nextgen/amdgpu/src Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -5861,7 +5861,7 @@ unsigned AMDGPUKernelTy::computeAchievedOccupancy(GenericDeviceTy &Device,
5861
5861
}
5862
5862
5863
5863
// / Enable profiling of HSA queues
5864
- void setQueueProfiling (void *Device, int Enable) {
5864
+ void setHSAQueueProfiling (void *Device, int Enable) {
5865
5865
reinterpret_cast <AMDGPUDeviceTy *>(Device)->setHSAQueueProfiling (Enable);
5866
5866
}
5867
5867
@@ -5875,15 +5875,14 @@ namespace llvm::omp::target::plugin {
5875
5875
5876
5876
// / Enable/disable kernel profiling for the given device.
5877
5877
void setOmptQueueProfile (void *Device, int Enable) {
5878
- reinterpret_cast <llvm::omp::target::plugin::AMDGPUDeviceTy *>(Device)
5879
- ->setHSAQueueProfiling (Enable);
5878
+ setHSAQueueProfiling (Device, Enable);
5880
5879
}
5881
5880
5882
5881
} // namespace llvm::omp::target::plugin
5883
5882
5884
5883
// / Enable/disable kernel profiling for the given device.
5885
5884
void setGlobalOmptKernelProfile (void *Device, int Enable) {
5886
- llvm::omp::target::plugin::setQueueProfiling (Device, Enable);
5885
+ llvm::omp::target::plugin::setHSAQueueProfiling (Device, Enable);
5887
5886
}
5888
5887
5889
5888
#endif
You can’t perform that action at this time.
0 commit comments