Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pulse_lib
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QuTech QDLabs
pulse_lib
Commits
ad3b4652
Commit
ad3b4652
authored
6 years ago
by
Stephan Philips
Browse files
Options
Downloads
Plain Diff
fix merge
parents
82b54445
f4234030
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Readme.md
+0
-1
0 additions, 1 deletion
Readme.md
pulse_lib/keysight/uploader_core/setup.py
+30
-2
30 additions, 2 deletions
pulse_lib/keysight/uploader_core/setup.py
with
30 additions
and
3 deletions
Readme.md
+
0
−
1
View file @
ad3b4652
...
@@ -16,7 +16,6 @@ TODO list:
...
@@ -16,7 +16,6 @@ TODO list:
*
Update virtual gate matrix function
*
Update virtual gate matrix function
*
Support for calibarion arguments? -- this should be engineered well.
*
Support for calibarion arguments? -- this should be engineered well.
*
HVI2 integration
*
HVI2 integration
*
cython/c++ object of keysight objects to fully release the GIL
*
add DSP module (must also be C++)
*
add DSP module (must also be C++)
TODO bugs and small things to fix,
TODO bugs and small things to fix,
...
...
This diff is collapsed.
Click to expand it.
pulse_lib/keysight/uploader_core/setup.py
+
30
−
2
View file @
ad3b4652
...
@@ -3,6 +3,7 @@ from distutils.extension import Extension
...
@@ -3,6 +3,7 @@ from distutils.extension import Extension
from
Cython.Build
import
cythonize
from
Cython.Build
import
cythonize
import
numpy
import
numpy
<<<<<<<
HEAD
extensions
=
[
extensions
=
[
Extension
(
"
uploader
"
,
Extension
(
"
uploader
"
,
sources
=
[
"
uploader.pyx
"
,
"
mem_ctrl.cpp
"
,
"
keysight_awg_post_processing_and_upload.cpp
"
],
sources
=
[
"
uploader.pyx
"
,
"
mem_ctrl.cpp
"
,
"
keysight_awg_post_processing_and_upload.cpp
"
],
...
@@ -12,9 +13,36 @@ extensions = [
...
@@ -12,9 +13,36 @@ extensions = [
language
=
'
c++
'
,
language
=
'
c++
'
,
extra_compile_args
=
[
'
-fopenmp
'
],
extra_compile_args
=
[
'
-fopenmp
'
],
)
)
=======
import
os
>>>>>>>
f42340300141c5c8523f9a32feb242b9e51a8dc1
]
if
os
.
name
==
'
nt
'
:
extensions
=
[
Extension
(
"
uploader
"
,
sources
=
[
"
uploader.pyx
"
,
"
mem_ctrl.cpp
"
,
"
keysight_awg_post_processing_and_upload.cpp
"
],
include_dirs
=
[
numpy
.
get_include
(),
"
C://Program Files (x86)//Keysight//SD1//Libraries//include//cpp//
"
,
"
C://Program Files (x86)//Keysight//SD1//Libraries//include//common//
"
],
libraries
=
[
"
SD1core
"
,
"
SD1pxi
"
],
library_dirs
=
[
"
C://Program Files (x86)//Keysight//SD1//shared//
"
],
language
=
'
c++
'
,
extra_compile_args
=
[
'
/openmp
'
],
)
]
else
:
extensions
=
[
Extension
(
"
uploader
"
,
sources
=
[
"
uploader.pyx
"
,
"
mem_ctrl.cpp
"
,
"
keysight_awg_post_processing_and_upload.cpp
"
],
include_dirs
=
[
numpy
.
get_include
(),
"
/usr/local/include/Keysight/SD1/cpp
"
,
"
/usr/local/include/Keysight/SD1/common
"
],
libraries
=
[
"
SD1core
"
,
"
SD1pxi
"
,
"
gomp
"
],
library_dirs
=
[
"
/usr/local/lib/Keysight/SD1/
"
],
language
=
'
c++
'
,
extra_compile_args
=
[
'
-fopenmp
'
],
)
]
setup
(
setup
(
name
=
"
Keysight_uploader
"
,
name
=
"
Keysight_uploader
"
,
ext_modules
=
cythonize
(
extensions
),
ext_modules
=
cythonize
(
extensions
),
)
)
\ No newline at end of file
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