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
05971163
"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "f2e6d9034da649fbb8be98a193b83280c0e53a45"
Commit
05971163
authored
Jan 09, 2019
by
Chao Liu
Browse files
refactor
parent
df228b3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
src/include/blockwise_tensor_op.cuh
src/include/blockwise_tensor_op.cuh
+1
-0
src/include/common.cuh
src/include/common.cuh
+2
-0
No files found.
src/include/blockwise_tensor_op.cuh
View file @
05971163
...
...
@@ -76,6 +76,7 @@ blockwise_4d_tensor_pointwise_operation_unary(DstDesc, Float* __restrict__ p_dst
}
}
// Function: p_dst[reorder[i0], reorder[i1], reorder[i2], reorder[i3]] = p_src[i0,i1,i2,i3]
// TODO: in order to optimize mem access for different mem type,
// need to write specialized version
template
<
unsigned
BlockSize
,
...
...
src/include/common.cuh
View file @
05971163
...
...
@@ -11,3 +11,5 @@ struct is_same<T, T>
{
static
const
bool
value
=
true
;
};
__device__
unsigned
get_thread_local_id
()
{
return
threadIdx
.
x
;
}
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