1 #include <ATen/Dispatch.h> 2 #if defined ENABLE_RECORD_KERNEL_FUNCTION_DTYPE 3 #include <ATen/record_function.h> 4 5 namespace at::detail { 6 record_kernel_function_dtype(std::string name)7void record_kernel_function_dtype(std::string name) { 8 RECORD_FUNCTION_WITH_SCOPE( 9 at::RecordScope::KERNEL_FUNCTION_DTYPE, 10 std::move(name), 11 c10::ArrayRef<const c10::IValue>{}); 12 } 13 14 } // namespace at::detail 15 #endif 16