Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
composable_kernel-1
Commits
1566b317
Commit
1566b317
authored
Jun 13, 2019
by
Chao Liu
Browse files
reorginzed files
parent
c82b833d
Changes
64
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
64 additions
and
32 deletions
+64
-32
composable_kernel/include/tensor_operation/blockwise_2d_tensor_op.hpp
...ernel/include/tensor_operation/blockwise_2d_tensor_op.hpp
+2
-2
composable_kernel/include/tensor_operation/blockwise_3d_tensor_op.hpp
...ernel/include/tensor_operation/blockwise_3d_tensor_op.hpp
+2
-2
composable_kernel/include/tensor_operation/blockwise_4d_tensor_op.hpp
...ernel/include/tensor_operation/blockwise_4d_tensor_op.hpp
+3
-2
composable_kernel/include/tensor_operation/blockwise_batched_gemm.hpp
...ernel/include/tensor_operation/blockwise_batched_gemm.hpp
+3
-1
composable_kernel/include/tensor_operation/blockwise_gemm.hpp
...osable_kernel/include/tensor_operation/blockwise_gemm.hpp
+3
-2
composable_kernel/include/tensor_operation/blockwise_generic_tensor_slice_copy.hpp
.../tensor_operation/blockwise_generic_tensor_slice_copy.hpp
+4
-1
composable_kernel/include/tensor_operation/blockwise_tensor_slice_copy.hpp
.../include/tensor_operation/blockwise_tensor_slice_copy.hpp
+3
-1
composable_kernel/include/tensor_operation/threadwise_4d_tensor_op.hpp
...rnel/include/tensor_operation/threadwise_4d_tensor_op.hpp
+2
-1
composable_kernel/include/tensor_operation/threadwise_direct_convolution.hpp
...nclude/tensor_operation/threadwise_direct_convolution.hpp
+3
-2
composable_kernel/include/tensor_operation/threadwise_gemm.hpp
...sable_kernel/include/tensor_operation/threadwise_gemm.hpp
+2
-2
composable_kernel/include/tensor_operation/threadwise_generic_tensor_op.hpp
...include/tensor_operation/threadwise_generic_tensor_op.hpp
+3
-2
composable_kernel/include/tensor_operation/threadwise_generic_tensor_slice_copy.hpp
...tensor_operation/threadwise_generic_tensor_slice_copy.hpp
+3
-2
composable_kernel/include/tensor_operation/threadwise_tensor_slice_copy.hpp
...include/tensor_operation/threadwise_tensor_slice_copy.hpp
+2
-1
composable_kernel/include/utility/Array.hpp
composable_kernel/include/utility/Array.hpp
+2
-2
composable_kernel/include/utility/Sequence.hpp
composable_kernel/include/utility/Sequence.hpp
+2
-2
composable_kernel/include/utility/amd_inline_asm.hpp
composable_kernel/include/utility/amd_inline_asm.hpp
+1
-1
composable_kernel/include/utility/common_header.hpp
composable_kernel/include/utility/common_header.hpp
+18
-0
composable_kernel/include/utility/config_amd.hpp.in
composable_kernel/include/utility/config_amd.hpp.in
+2
-2
composable_kernel/include/utility/config_nvidia.hpp.in
composable_kernel/include/utility/config_nvidia.hpp.in
+2
-2
composable_kernel/include/utility/functional.hpp
composable_kernel/include/utility/functional.hpp
+2
-2
No files found.
include/
composable_kernel/tensor_operation/blockwise_2d_tensor_op.hpp
→
composable_kernel/
include/
tensor_operation/blockwise_2d_tensor_op.hpp
View file @
1566b317
#ifndef CK_BLOCKWISE_2D_TENSOR_OP_HPP
#ifndef CK_BLOCKWISE_2D_TENSOR_OP_HPP
#define CK_BLOCKWISE_2D_TENSOR_OP_HPP
#define CK_BLOCKWISE_2D_TENSOR_OP_HPP
#include "com
posable_kernel/utility/common
.hpp"
#include "com
mon_header
.hpp"
#include "
composable_kernel/tensor_description/
ConstantTensorDescriptor.hpp"
#include "ConstantTensorDescriptor.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/tensor_operation/blockwise_3d_tensor_op.hpp
→
composable_kernel/
include/
tensor_operation/blockwise_3d_tensor_op.hpp
View file @
1566b317
#ifndef CK_BLOCKWISE_3D_TENSOR_OP_HPP
#ifndef CK_BLOCKWISE_3D_TENSOR_OP_HPP
#define CK_BLOCKWISE_3D_TENSOR_OP_HPP
#define CK_BLOCKWISE_3D_TENSOR_OP_HPP
#include "com
posable_kernel/utility/common
.hpp"
#include "com
mon_header
.hpp"
#include "
composable_kernel/tensor_description/
ConstantTensorDescriptor.hpp"
#include "ConstantTensorDescriptor.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/tensor_operation/blockwise_4d_tensor_op.hpp
→
composable_kernel/
include/
tensor_operation/blockwise_4d_tensor_op.hpp
View file @
1566b317
#ifndef CK_BLOCKWISE_4D_TENSOR_OP_HPP
#ifndef CK_BLOCKWISE_4D_TENSOR_OP_HPP
#define CK_BLOCKWISE_4D_TENSOR_OP_HPP
#define CK_BLOCKWISE_4D_TENSOR_OP_HPP
#include "composable_kernel/tensor_description/ConstantTensorDescriptor.hpp"
#include "common_header.hpp"
#include "composable_kernel/tensor_operation/threadwise_tensor_slice_copy.hpp"
#include "ConstantTensorDescriptor.hpp"
#include "threadwise_tensor_slice_copy.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/tensor_operation/blockwise_batched_gemm.hpp
→
composable_kernel/
include/
tensor_operation/blockwise_batched_gemm.hpp
View file @
1566b317
#ifndef CK_BLOCKWISE_BATCHED_GEMM_HPP
#ifndef CK_BLOCKWISE_BATCHED_GEMM_HPP
#define CK_BLOCKWISE_BATCHED_GEMM_HPP
#define CK_BLOCKWISE_BATCHED_GEMM_HPP
#include "composable_kernel/tensor_operation/threadwise_gemm.hpp"
#include "common_header.hpp"
#include "ConstantMatrixDescriptor.hpp"
#include "threadwise_gemm.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/tensor_operation/blockwise_gemm.hpp
→
composable_kernel/
include/
tensor_operation/blockwise_gemm.hpp
View file @
1566b317
#ifndef CK_BLOCKWISE_GEMM_HPP
#ifndef CK_BLOCKWISE_GEMM_HPP
#define CK_BLOCKWISE_GEMM_HPP
#define CK_BLOCKWISE_GEMM_HPP
#include "composable_kernel/utility/common.hpp"
#include "common_header.hpp"
#include "composable_kernel/tensor_operation/threadwise_gemm.hpp"
#include "ConstantMatrixDescriptor.hpp"
#include "threadwise_gemm.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/tensor_operation/blockwise_generic_tensor_slice_copy.hpp
→
composable_kernel/
include/
tensor_operation/blockwise_generic_tensor_slice_copy.hpp
View file @
1566b317
#ifndef CK_BLOCKWISE_GENERIC_TENSOR_SLICE_COPY_HPP
#ifndef CK_BLOCKWISE_GENERIC_TENSOR_SLICE_COPY_HPP
#define CK_BLOCKWISE_GENERIC_TENSOR_SLICE_COPY_HPP
#define CK_BLOCKWISE_GENERIC_TENSOR_SLICE_COPY_HPP
#include "composable_kernel/tensor_operation/threadwise_generic_tensor_slice_copy.hpp"
#include "common_header.hpp"
#include "ConstantTensorDescriptor.hpp"
#include "ConstantMergedTensorDescriptor.hpp"
#include "threadwise_generic_tensor_slice_copy.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/tensor_operation/blockwise_tensor_slice_copy.hpp
→
composable_kernel/
include/
tensor_operation/blockwise_tensor_slice_copy.hpp
View file @
1566b317
#ifndef CK_BLOCKWISE_TENSOR_SLICE_COPY_HPP
#ifndef CK_BLOCKWISE_TENSOR_SLICE_COPY_HPP
#define CK_BLOCKWISE_TENSOR_SLICE_COPY_HPP
#define CK_BLOCKWISE_TENSOR_SLICE_COPY_HPP
#include "composable_kernel/tensor_operation/threadwise_tensor_slice_copy.hpp"
#include "common_header.hpp"
#include "ConstantTensorDescriptor.hpp"
#include "threadwise_tensor_slice_copy.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/tensor_operation/threadwise_4d_tensor_op.hpp
→
composable_kernel/
include/
tensor_operation/threadwise_4d_tensor_op.hpp
View file @
1566b317
#ifndef CK_THREADWISE_4D_TENSOR_OP_HPP
#ifndef CK_THREADWISE_4D_TENSOR_OP_HPP
#define CK_THREADWISE_4D_TENSOR_OP_HPP
#define CK_THREADWISE_4D_TENSOR_OP_HPP
#include "composable_kernel/tensor_description/ConstantTensorDescriptor.hpp"
#include "common_header.hpp"
#include "ConstantTensorDescriptor.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/tensor_operation/threadwise_direct_convolution.hpp
→
composable_kernel/
include/
tensor_operation/threadwise_direct_convolution.hpp
View file @
1566b317
#ifndef CK_THREADWISE_DIRECT_CONVOLUTION_HPP
#ifndef CK_THREADWISE_DIRECT_CONVOLUTION_HPP
#define CK_THREADWISE_DIRECT_CONVOLUTION_HPP
#define CK_THREADWISE_DIRECT_CONVOLUTION_HPP
#include "composable_kernel/tensor_description/ConstantTensorDescriptor.hpp"
#include "common_header.hpp"
#include "composable_kernel/tensor_operation/threadwise_tensor_slice_copy.hpp"
#include "ConstantTensorDescriptor.hpp"
#include "threadwise_tensor_slice_copy.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/tensor_operation/threadwise_gemm.hpp
→
composable_kernel/
include/
tensor_operation/threadwise_gemm.hpp
View file @
1566b317
#ifndef CK_THREADWISE_GEMM_HPP
#ifndef CK_THREADWISE_GEMM_HPP
#define CK_THREADWISE_GEMM_HPP
#define CK_THREADWISE_GEMM_HPP
#include "com
posable_kernel/utility/common
.hpp"
#include "com
mon_header
.hpp"
#include "
composable_kernel/tensor_description/
ConstantMatrixDescriptor.hpp"
#include "ConstantMatrixDescriptor.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/tensor_operation/threadwise_generic_tensor_op.hpp
→
composable_kernel/
include/
tensor_operation/threadwise_generic_tensor_op.hpp
View file @
1566b317
#ifndef CK_THREADWISE_GENERIC_TENSOR_OP_HPP
#ifndef CK_THREADWISE_GENERIC_TENSOR_OP_HPP
#define CK_THREADWISE_GENERIC_TENSOR_OP_HPP
#define CK_THREADWISE_GENERIC_TENSOR_OP_HPP
#include "composable_kernel/tensor_description/ConstantTensorDescriptor.hpp"
#include "common_header.hpp"
#include "composable_kernel/tensor_description/ConstantMergedTensorDescriptor.hpp"
#include "ConstantTensorDescriptor.hpp"
#include "ConstantMergedTensorDescriptor.hpp"
namespace
ck
{
namespace
ck
{
template
<
class
Float
,
class
TDesc
>
template
<
class
Float
,
class
TDesc
>
...
...
include/
composable_kernel/tensor_operation/threadwise_generic_tensor_slice_copy.hpp
→
composable_kernel/
include/
tensor_operation/threadwise_generic_tensor_slice_copy.hpp
View file @
1566b317
#ifndef CK_THREADWISE_GENERIC_TENSOR_SLICE_COPY_HPP
#ifndef CK_THREADWISE_GENERIC_TENSOR_SLICE_COPY_HPP
#define CK_THREADWISE_GENERIC_TENSOR_SLICE_COPY_HPP
#define CK_THREADWISE_GENERIC_TENSOR_SLICE_COPY_HPP
#include "composable_kernel/tensor_description/ConstantTensorDescriptor.hpp"
#include "common_header.hpp"
#include "composable_kernel/tensor_description/ConstantMergedTensorDescriptor.hpp"
#include "ConstantTensorDescriptor.hpp"
#include "ConstantMergedTensorDescriptor.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/tensor_operation/threadwise_tensor_slice_copy.hpp
→
composable_kernel/
include/
tensor_operation/threadwise_tensor_slice_copy.hpp
View file @
1566b317
#ifndef CK_THREADWISE_TENSOR_SLICE_COPY_HPP
#ifndef CK_THREADWISE_TENSOR_SLICE_COPY_HPP
#define CK_THREADWISE_TENSOR_SLICE_COPY_HPP
#define CK_THREADWISE_TENSOR_SLICE_COPY_HPP
#include "composable_kernel/tensor_description/ConstantTensorDescriptor.hpp"
#include "common_header.hpp"
#include "ConstantTensorDescriptor.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/utility/Array.hpp
→
composable_kernel/
include/
utility/Array.hpp
View file @
1566b317
#ifndef CK_ARRAY_HPP
#ifndef CK_ARRAY_HPP
#define CK_ARRAY_HPP
#define CK_ARRAY_HPP
#include "
composable_kernel/utility/
Sequence.hpp"
#include "Sequence.hpp"
#include "
composable_kernel/utility/
functional2.hpp"
#include "functional2.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/utility/Sequence.hpp
→
composable_kernel/
include/
utility/Sequence.hpp
View file @
1566b317
#ifndef CK_SEQUENCE_HPP
#ifndef CK_SEQUENCE_HPP
#define CK_SEQUENCE_HPP
#define CK_SEQUENCE_HPP
#include "
composable_kernel/utility/
integral_constant.hpp"
#include "integral_constant.hpp"
#include "
composable_kernel/utility/
functional.hpp"
#include "functional.hpp"
namespace
ck
{
namespace
ck
{
...
...
include/
composable_kernel/utility/amd_inline_asm.hpp
→
composable_kernel/
include/
utility/amd_inline_asm.hpp
View file @
1566b317
#ifndef CK_AMD_INLINE_ASM_HPP
#ifndef CK_AMD_INLINE_ASM_HPP
#define CK_AMD_INLINE_ASM_HPP
#define CK_AMD_INLINE_ASM_HPP
#include "
composable_kernel/utility/
vector_type.hpp"
#include "vector_type.hpp"
#define NO_VM_WAIT 0
#define NO_VM_WAIT 0
#define NO_LGKM_WAIT 0
#define NO_LGKM_WAIT 0
...
...
composable_kernel/include/utility/common_header.hpp
0 → 100644
View file @
1566b317
#ifndef CK_COMMON_HPP
#define CK_COMMON_HPP
#include "config.hpp"
#include "utility.hpp"
#include "vector_type.hpp"
#include "integral_constant.hpp"
#include "Sequence.hpp"
#include "Array.hpp"
#include "functional.hpp"
#include "functional2.hpp"
#include "functional3.hpp"
#if CK_USE_AMD_INLINE_ASM
#include "amd_inline_asm.hpp"
#endif
#endif
include/
composable_kernel/utility/config_amd.hpp.in
→
composable_kernel/
include/
utility/config_amd.hpp.in
View file @
1566b317
#ifndef CK_CONFIG_HPP
#ifndef CK_CONFIG_
AMD_
HPP
#define CK_CONFIG_HPP
#define CK_CONFIG_
AMD_
HPP
#cmakedefine01 CK_DEVICE_BACKEND_AMD
#cmakedefine01 CK_DEVICE_BACKEND_AMD
...
...
include/
composable_kernel/utility/config_nvidia.hpp.in
→
composable_kernel/
include/
utility/config_nvidia.hpp.in
View file @
1566b317
#ifndef CK_CONFIG_
CUD
A_HPP
#ifndef CK_CONFIG_
NVIDI
A_HPP
#define CK_CONFIG_
CUD
A_HPP
#define CK_CONFIG_
NVIDI
A_HPP
#cmakedefine01 CK_DEVICE_BACKEND_NVIDIA
#cmakedefine01 CK_DEVICE_BACKEND_NVIDIA
...
...
include/
composable_kernel/utility/functional.hpp
→
composable_kernel/
include/
utility/functional.hpp
View file @
1566b317
#ifndef CK_FUNCTIONAL_HPP
#ifndef CK_FUNCTIONAL_HPP
#define CK_FUNCTIONAL_HPP
#define CK_FUNCTIONAL_HPP
#include "
composable_kernel/utility/
integral_constant.hpp"
#include "integral_constant.hpp"
#include "
composable_kernel/utility/
Sequence.hpp"
#include "Sequence.hpp"
namespace
ck
{
namespace
ck
{
...
...
Prev
1
2
3
4
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment