Skip to content

Commit

Permalink
fix compilation after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
AD2605 committed May 7, 2024
1 parent 79f0c8b commit aa8c304
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/unit/common/cutlass_unit_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
#endif

/////////////////////////////////////////////////////////////////////////////////////////////////

#if !defined(CUTLASS_ENABLE_SYCL)
/// Gets a CUDA device
cudaDeviceProp GetCudaDevice();

/// Prints device properties
std::ostream &operator<<(std::ostream &out, cudaDeviceProp const &device);

#endif
/////////////////////////////////////////////////////////////////////////////////////////////////

/// Sets flags for Unit test
Expand Down
7 changes: 5 additions & 2 deletions test/unit/common/filter_architecture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@

#include "cutlass_unit_test.h"

#if !defined(CUTLASS_ENABLE_SYCL)

/////////////////////////////////////////////////////////////////////////////////////////////////

/// Gets a CUDA device
Expand Down Expand Up @@ -77,7 +79,7 @@ std::ostream &operator<<(std::ostream &out, cudaDeviceProp const &deviceProperti
/// Sets flags for Unit test
void FilterArchitecture() {
// Default flags can be overwritten by --gtest_filter from commandline
#if !defined(CUTLASS_ENABLE_SYCL)

int const kMaxDevice = 999;

cudaError_t err;
Expand Down Expand Up @@ -138,9 +140,10 @@ void FilterArchitecture() {
}

::testing::GTEST_FLAG(filter) = ss.str();
#endif

}

#endif
/////////////////////////////////////////////////////////////////////////////////////////////////

int CutlassUnitTestProblemCount() {
Expand Down

0 comments on commit aa8c304

Please sign in to comment.