ROCm / ROCm-Device-Libs

ROCm Device Libraries
97 stars 60 forks source link

Add hip.amdgcn.bc to support llvm fences #56

Closed aaronenyeshi closed 6 years ago

aaronenyeshi commented 6 years ago

ROCm-Device-Libs is removing irif.amdgcn.bc from it's install, which removes fence functions. HIP is using these fence functions to support the threadfence_* and barrier functions.

This PR adds those fence functions back in LLVM IR format under hip directory.

aaronenyeshi commented 6 years ago

Thanks @b-sumner , I've added that function from hip device_functions.h here

aaronenyeshi commented 6 years ago

Closing as this was submitted in gerrit