Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
b873c696
There was an error fetching the commit references. Please try again later.
Commit
b873c696
authored
7 years ago
by
Tomáš Oberhuber
Browse files
Options
Downloads
Patches
Plain Diff
Small fixes in comments.
parent
533c8ee1
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/TNL/Containers/Algorithms/ArrayOperationsMIC_impl.h
+4
-2
4 additions, 2 deletions
src/TNL/Containers/Algorithms/ArrayOperationsMIC_impl.h
src/TNL/Devices/MIC.cpp
+3
-2
3 additions, 2 deletions
src/TNL/Devices/MIC.cpp
src/TNL/Devices/MIC.h
+5
-11
5 additions, 11 deletions
src/TNL/Devices/MIC.h
with
12 additions
and
15 deletions
src/TNL/Containers/Algorithms/ArrayOperationsMIC_impl.h
+
4
−
2
View file @
b873c696
/***************************************************************************
ArrayOperationsMIC_impl.h - description
-------------------
begin : Mar 4, 201
3
copyright : (C) 201
3
by Tomas Oberhuber
begin : Mar 4, 201
7
copyright : (C) 201
7
by Tomas Oberhuber
email : tomas.oberhuber@fjfi.cvut.cz
***************************************************************************/
/* See Copyright Notice in tnl/Copyright */
// Implemented by: Vit Hanousek
#pragma once
#include
<iostream>
...
...
This diff is collapsed.
Click to expand it.
src/TNL/Devices/MIC.cpp
+
3
−
2
View file @
b873c696
/***************************************************************************
MIC.cpp - description
-------------------
by hanouvit
begin : Feb 10, 2017
copyright : (C) 2017 by Tomas Oberhuber
email : tomas.oberhuber@fjfi.cvut.cz
***************************************************************************/
/* See Copyright Notice in tnl/Copyright */
#include
<TNL/Devices/MIC.h>
// Implemented by: Vit Hanousek
#include
<TNL/Devices/MIC.h>
namespace
TNL
{
namespace
Devices
{
...
...
This diff is collapsed.
Click to expand it.
src/TNL/Devices/MIC.h
+
5
−
11
View file @
b873c696
/***************************************************************************
MIC.h - description
by hanouvit
-------------------
begin : Nov 7, 201
2
copyright : (C) 201
2
by Tomas Oberhuber
begin : Nov 7, 201
6
copyright : (C) 201
6
by Tomas Oberhuber
email : tomas.oberhuber@fjfi.cvut.cz
***************************************************************************/
/* See Copyright Notice in tnl/Copyright */
#ifndef TNLMIC_H
#define TNLMIC_H
// Implemented by: Vit Hanousek
#pragma once
#include
<iostream>
#include
<cstring>
...
...
@@ -55,7 +55,6 @@ struct MICStruct{
#define TNLMICSTRUCTALLOC(bb,typ) typ * kernel ## bb = (typ*) malloc (sizeof(typ)); \
memcpy((void*)kernel ## bb,(void*) & s ## bb, sizeof(typ));
//verze kdy se ukazatel na objekt reprezentuje jako ukazatel na pole uint_8
//version which retypes pointer of object to pointer to array of uint8_t,
//object can be copied using uint8_t pointer as array with same length as object size
#define TNLMICHIDE(bb,typ) uint8_t * u ## bb=(uint8_t *)&bb; \
...
...
@@ -181,8 +180,3 @@ class MIC
}
//namespace TNL
#endif
/* TNLMIC_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment