Open ezhulenev opened 1 year ago
@ezhulenev There are set of Thunks built in the gpu_executable library Some thunks are built separately. Should we move the thunks out of this library, leave them where they are or move the gpu_executable to the new runtime location?
All thunks should have their own build targets (faster parallel builds), I think some of them built as a part for gpu_executable to avoid circular dependencies, but I suspect some of them are there accidentally. Anyway we'll need to find a way to break circular dependency if it exists.
Closing this issue since thunks had been moved to xla/service/gpu/runtime3 and has now become the only runtime for XLA:GPU (xla/service/gpu/runtime)
Oops I just saw that the issue is still being used. Sorry, reopening now.
Currently XLA:GPU thunks are in the same folder with all of compiler passes and random utilities in one giant folder with hundreds of files (https://github.com/openxla/xla/tree/main/xla/service/gpu). Let's move all thunk-related targets to: https://github.com/openxla/xla/tree/main/xla/service/gpu/runtime3
This is a temporary location, once clean up and consolidation is completed we'll find Thunks a new home in XLA directory structure.
Thunk: https://github.com/openxla/xla/blob/main/xla/service/gpu/thunk.h