|
slot 0.0.1
A real time UI render framework
|
#include <torch/extension.h>#include <ATen/cuda/CUDAContext.h>#include <ATen/cuda/CUDAUtils.h>#include <stdexcept>#include <string>#include <vector>#include <math.h>#include <assert.h>#include <stdint.h>#include <stdlib.h>#include <string.h>#include "../source/core/slang-string.h"#include "slang-cpp-scalar-intrinsics.h"#include "slang-cpp-types-core.h"
类 | |
| struct | TensorView |
宏定义 | |
| #define | SLANG_PRELUDE_STD |
| #define | SLANG_PRELUDE_SHARED_LIB_EXPORT __attribute__((__visibility__("default"))) |
| #define | SLANG_PRELUDE_EXTERN_C |
| #define | SLANG_PRELUDE_EXTERN_C_START |
| #define | SLANG_PRELUDE_EXTERN_C_END |
| #define | SLANG_PRELUDE_NAMESPACE |
| #define | SLANG_NO_THROW |
| #define | SLANG_STDCALL |
| #define | SLANG_MCALL SLANG_STDCALL |
| #define | SLANG_FORCE_INLINE inline |
| #define | SLANG_PRELUDE_EXPORT |
函数 | |
| TensorView | make_tensor_view (torch::Tensor val, const char *name, torch::ScalarType targetScalarType, bool requireContiguous) |
变量 | |
| static const int | kSlangTorchTensorMaxDim = 5 |
| #define SLANG_FORCE_INLINE inline |
| #define SLANG_MCALL SLANG_STDCALL |
| #define SLANG_NO_THROW |
| #define SLANG_PRELUDE_EXPORT |
| #define SLANG_PRELUDE_EXTERN_C |
| #define SLANG_PRELUDE_EXTERN_C_END |
| #define SLANG_PRELUDE_EXTERN_C_START |
| #define SLANG_PRELUDE_NAMESPACE |
| #define SLANG_PRELUDE_SHARED_LIB_EXPORT __attribute__((__visibility__("default"))) |
| #define SLANG_PRELUDE_STD |
| #define SLANG_STDCALL |
| TensorView make_tensor_view | ( | torch::Tensor | val, |
| const char * | name, | ||
| torch::ScalarType | targetScalarType, | ||
| bool | requireContiguous ) |
|
static |