rename files, added header guard, added namespace

[ROCm/composable_kernel commit: 88b77181aa]
This commit is contained in:
Chao Liu
2019-06-11 14:35:59 -05:00
parent 88d7d31a76
commit 3dc2ff612c
62 changed files with 580 additions and 1844 deletions

View File

@@ -1,4 +1,6 @@
#pragma once
#ifndef CK_AMD_INLINE_ASM_HPP
#define CK_AMD_INLINE_ASM_HPP
#include "common.hpp"
#define NO_VM_WAIT 0
@@ -7,6 +9,8 @@
#define NO_DS_WRITE 0
#define NO_GLB_READ 0
namespace ck {
// cast a pointer of LDS to its address
extern "C" __attribute__((address_space(3))) void* __to_local(void* p)[[hc]];
@@ -759,3 +763,6 @@ ds_write_b128(const vector_type<float, 4>::MemoryType& r, void* lds, index_t off
}
#endif
}
} // namespace ck
#endif