Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
memory-faucet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
数学の武士
memory-faucet
Commits
5d240064
Commit
5d240064
authored
4 months ago
by
数学の武士
Browse files
Options
Downloads
Patches
Plain Diff
Rename lib files
parent
f47d8492
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
Lib/CMakeLists.txt
+5
-5
5 additions, 5 deletions
Lib/CMakeLists.txt
Lib/memory-faucet.cpp
+1
-1
1 addition, 1 deletion
Lib/memory-faucet.cpp
Lib/memory-faucet.h
+0
-0
0 additions, 0 deletions
Lib/memory-faucet.h
main.cpp
+1
-1
1 addition, 1 deletion
main.cpp
with
9 additions
and
9 deletions
CMakeLists.txt
+
2
−
2
View file @
5d240064
...
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.19)
...
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.19)
option
(
INCLUDE_CUDA
"GPU build in mode"
OFF
)
option
(
INCLUDE_CUDA
"GPU build in mode"
OFF
)
project
(
memory-
holder
-test
)
project
(
memory-
faucet
-test
)
enable_language
(
CXX
)
enable_language
(
CXX
)
set
(
CMAKE_CXX_STANDARD 11
)
set
(
CMAKE_CXX_STANDARD 11
)
...
@@ -28,4 +28,4 @@ set(SOURCES
...
@@ -28,4 +28,4 @@ set(SOURCES
add_executable
(
test
${
SOURCES
}
)
add_executable
(
test
${
SOURCES
}
)
target_include_directories
(
test PUBLIC ./Lib/
)
target_include_directories
(
test PUBLIC ./Lib/
)
target_link_libraries
(
test memory-holder
)
target_link_libraries
(
test memory-faucet
)
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Lib/CMakeLists.txt
+
5
−
5
View file @
5d240064
...
@@ -30,13 +30,13 @@ if(INCLUDE_CUDA)
...
@@ -30,13 +30,13 @@ if(INCLUDE_CUDA)
endif
(
INCLUDE_CUDA
)
endif
(
INCLUDE_CUDA
)
set
(
SOURCES
set
(
SOURCES
memory-
holder
.cpp
memory-
faucet
.cpp
)
)
set
(
HEADER
set
(
HEADER
memory-
holder
.h
memory-
faucet
.h
)
)
add_library
(
memory-holder
${
SOURCES
}
${
HEADER
}
)
add_library
(
memory-faucet
${
SOURCES
}
${
HEADER
}
)
target_include_directories
(
memory-holder PUBLIC
${
memory_processing_SOURCE_DIR
}
/include
)
target_include_directories
(
memory-faucet PUBLIC
${
memory_processing_SOURCE_DIR
}
/include
)
target_link_libraries
(
memory-holder memproc
)
target_link_libraries
(
memory-faucet memproc
)
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Lib/memory-
holder
.cpp
→
Lib/memory-
faucet
.cpp
+
1
−
1
View file @
5d240064
#include
"memory-
holder
.h"
#include
"memory-
faucet
.h"
#include
"MemoryProcessing.h"
#include
"MemoryProcessing.h"
#ifdef INCLUDE_CUDA
#ifdef INCLUDE_CUDA
#include
"MemoryProcessing.cuh"
#include
"MemoryProcessing.cuh"
...
...
This diff is collapsed.
Click to expand it.
Lib/memory-
holder
.h
→
Lib/memory-
faucet
.h
+
0
−
0
View file @
5d240064
File moved
This diff is collapsed.
Click to expand it.
main.cpp
+
1
−
1
View file @
5d240064
#include
"memory-
holder
.h"
#include
"memory-
faucet
.h"
#include
<cstdio>
#include
<cstdio>
int
main
(
void
)
int
main
(
void
)
{
{
...
...
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