Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable building FPGA or GPU platform independently #112

Merged
merged 1 commit into from
Feb 20, 2019

Conversation

marktwtn
Copy link
Collaborator

The original building process would compile CPU-related code as well
even if we assign the other platform(GPU or FPGA) only.

The current building process can build each platform independently.
If no hardware platform is specified,
the CPU and the supported instruction set would be chose.
The libtuv code would be compiled only if the specified hardware
platforms contain CPU.

Close #105.

@jserv jserv requested review from jserv and ajblane and removed request for jserv February 20, 2019 14:41
docs/build-n-test.md Outdated Show resolved Hide resolved
mk/defs.mk Outdated Show resolved Hide resolved
docs/build-n-test.md Outdated Show resolved Hide resolved
src/dcurl.c Show resolved Hide resolved
@jserv
Copy link
Member

jserv commented Feb 20, 2019

We might encounter an uncertain case when a user execute $ make BUILD_AVX=1 BUILD_SSE=1. The AVX backend should override SSE.

@marktwtn
Copy link
Collaborator Author

We might encounter an uncertain case when a user execute $ make BUILD_AVX=1 BUILD_SSE=1. The AVX backend should override SSE.

Yes, this uncertain case has been taken care in the current dcurl.
The AVX backend does override the SSE backend.

The original building process would compile CPU-related code as well
even if we assign the other platform(GPU or FPGA) only.

The current building process can build each platform independently.
If no hardware platform is specified,
the CPU and the supported instruction set would be chose.
The libtuv code would be compiled only if the specified hardware
platforms contain CPU.

Close DLTcollab#105.
@jserv jserv added this to the sprint-201902 milestone Feb 20, 2019
@jserv jserv merged commit e89ed14 into DLTcollab:dev Feb 20, 2019
@marktwtn marktwtn deleted the build-without-CPU branch February 21, 2019 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants