Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tensor-Core Correlator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ResearchAndDevelopment
Tensor-Core Correlator
Commits
904cbcfb
Commit
904cbcfb
authored
1 year ago
by
Bram Veenboer
Browse files
Options
Downloads
Patches
Plain Diff
Fix compilation of OpenCLCorrelatorTest
parent
c44428f4
No related branches found
No related tags found
No related merge requests found
Pipeline
#60028
passed
1 year ago
Stage: build
Stage: testing
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/OpenCLCorrelatorTest/CMakeLists.txt
+7
-4
7 additions, 4 deletions
test/OpenCLCorrelatorTest/CMakeLists.txt
test/OpenCLCorrelatorTest/OpenCLCorrelatorTest.cc
+2
-2
2 additions, 2 deletions
test/OpenCLCorrelatorTest/OpenCLCorrelatorTest.cc
with
9 additions
and
6 deletions
test/OpenCLCorrelatorTest/CMakeLists.txt
+
7
−
4
View file @
904cbcfb
project
(
OpenCLCorrelatorTest
)
find_package
(
OpenMP REQUIRED
)
find_package
(
OpenMP REQUIRED
)
find_package
(
OpenCL
)
find_package
(
OpenCL
)
if
(
${
OpenCL_FOUND
}
)
if
(
${
OpenCL_FOUND
}
)
add_executable
(
OpenCLCorrelatorTest
)
set
(
KERNEL_SOURCE_FILE
"
${
CMAKE_SOURCE_DIR
}
/libtcc/kernel/TCCorrelator.cu"
)
target_sources
(
OpenCLCorrelatorTest PRIVATE OpenCLCorrelatorTest.cc
)
add_executable
(
${
PROJECT_NAME
}
)
target_include_directories
(
OpenCLCorrelatorTest PRIVATE
${
CMAKE_SOURCE_DIR
}
target_sources
(
${
PROJECT_NAME
}
PRIVATE OpenCLCorrelatorTest.cc
)
target_include_directories
(
${
PROJECT_NAME
}
PRIVATE
${
CMAKE_SOURCE_DIR
}
${
OpenCL_INCLUDE_DIRS
}
)
${
OpenCL_INCLUDE_DIRS
}
)
target_link_libraries
(
OpenCLCorrelatorTest
PRIVATE
${
OpenCL_LIBRARIES
}
target_link_libraries
(
${
PROJECT_NAME
}
PRIVATE
${
OpenCL_LIBRARIES
}
OpenMP::OpenMP_CXX
)
OpenMP::OpenMP_CXX
)
target_compile_definitions
(
${
PROJECT_NAME
}
PRIVATE KERNEL_SOURCE_FILE=
"
${
KERNEL_SOURCE_FILE
}
"
)
# FIXME: The OpenCLCorrelatorTest doesn't work
# FIXME: The OpenCLCorrelatorTest doesn't work
# add_test(
# add_test(
...
...
This diff is collapsed.
Click to expand it.
test/OpenCLCorrelatorTest/OpenCLCorrelatorTest.cc
+
2
−
2
View file @
904cbcfb
...
@@ -248,7 +248,7 @@ cl::Program createProgramFromBinaries(cl::Context &context, std::vector<cl::Devi
...
@@ -248,7 +248,7 @@ cl::Program createProgramFromBinaries(cl::Context &context, std::vector<cl::Devi
<<
" -DNR_POLARIZATIONS="
<<
NR_POLARIZATIONS
<<
" -DNR_POLARIZATIONS="
<<
NR_POLARIZATIONS
<<
" -DNR_RECEIVERS_PER_BLOCK="
<<
NR_RECEIVERS_PER_BLOCK
<<
" -DNR_RECEIVERS_PER_BLOCK="
<<
NR_RECEIVERS_PER_BLOCK
<<
" -o - "
<<
" -o - "
<<
" libtcc/kernel/TCCorrelator.cu"
<<
KERNEL_SOURCE_FILE
<<
"|sed -e s/.param
\\
.[a-zA-Z0-9]*/
\\
&
\\
.ptr
\\
.global/"
;
<<
"|sed -e s/.param
\\
.[a-zA-Z0-9]*/
\\
&
\\
.ptr
\\
.global/"
;
std
::
clog
<<
"executing: "
<<
command
.
str
()
<<
std
::
endl
;
std
::
clog
<<
"executing: "
<<
command
.
str
()
<<
std
::
endl
;
...
...
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