common.hpp 323 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include "cutlass/cutlass.h"

/**
 * Helper function for checking CUTLASS errors
 */
#define CUTLASS_CHECK(status)                        \
  {                                                  \
    TORCH_CHECK(status == cutlass::Status::kSuccess, \
                cutlassGetStatusString(status))      \
  }