Skip to content

Commit

Permalink
Fix issue with include sycl for syclcompat (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
aacostadiaz authored Aug 2, 2024
1 parent a380ea6 commit f107968
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/cute/tutorial/sgemm_1_sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#define SYCLCOMPAT_PROFILING_ENABLED

#include <sycl.hpp>
#include <syclcompat.hpp>

#include <cute/tensor.hpp>
Expand Down
2 changes: 2 additions & 0 deletions examples/cute/tutorial/sgemm_2_sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@

#define SYCLCOMPAT_PROFILING_ENABLED

#include <sycl.hpp>
#include <syclcompat.hpp>


#include <cute/tensor.hpp>

#include "cutlass/util/print_error.hpp"
Expand Down
1 change: 1 addition & 0 deletions examples/cute/tutorial/sgemm_sm70_sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#define SYCLCOMPAT_PROFILING_ENABLED

#include <sycl.hpp>
#include <syclcompat.hpp>

#include <cute/tensor.hpp>
Expand Down
1 change: 1 addition & 0 deletions examples/cute/tutorial/sgemm_sm80_sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#define SYCLCOMPAT_PROFILING_ENABLED

#include <sycl.hpp>
#include <syclcompat.hpp>

#include <cute/tensor.hpp>
Expand Down
2 changes: 2 additions & 0 deletions examples/cute/tutorial/tiled_copy_sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
**************************************************************************************************/

#include <sycl.hpp>
#include <syclcompat.hpp>

#include <cute/tensor.hpp>
Expand Down
1 change: 1 addition & 0 deletions include/cute/util/debug.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
*/

#if defined(CUTLASS_ENABLE_SYCL)
#include <sycl.hpp>
#include <syclcompat.hpp>
#else
#include <cuda_runtime_api.h>
Expand Down

0 comments on commit f107968

Please sign in to comment.