Skip to content

Are header files exposed in torch ? #2034

@YangKai0616

Description

@YangKai0616

🚀 The feature, motivation and pitch

Have you considered exposing the library's header files in torch? This would allow developers to directly include xpu sycl header files. For example, #include <ATen/native/xpu/sycl/Loops.h>. Just like how it's done with cuda: #include <ATen/native/cuda/Loops.cuh>.

In some integrated environments, I am unable to manually download the current repo. When I need to develop a kernel implemented with SYCL, I have to locate the implementations of all header files and extract them individually as new header files......

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions