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

Hcal DetIds/Digi DataFrames adjustments to be used with cuda #63

Conversation

fwyzard
Copy link

@fwyzard fwyzard commented May 30, 2018

Changes made by @vkhristenko - see #58 and cms-sw#23386 .

Similar to DataFormats/DetId updates for HcalDetid and HcalDigi

  • move impls to header
  • put constexpr
  • provide the tests

The final test is:

  • create an HBHEDigiCollection/HFDigiCollection/HODigiCollection on the host's side and fill it
  • allocate space on the gpu
  • ship to device
  • run the kernel to compute some func per channel
  • ship the results to host
  • assert for each channel

Seems to work nicely...

@cmsbot
Copy link

cmsbot commented May 30, 2018

A new Pull Request was created by @fwyzard (Andrea Bocci) for CMSSW_10_2_X_Patatrack.

It involves the following packages:

DataFormats/Common
DataFormats/HcalDetId
DataFormats/HcalDigi

@cmsbot, @fwyzard can you please review it and eventually sign? Thanks.

cms-bot commands are listed here

Similar to DataFormats/DetId updates for HcalDetid and HcalDigi
  - move the implementation to the header files
  - mark methods as `constexpr`
The final test is:
  - create an `HBHEDigiCollection`/`HFDigiCollection`/`HODigiCollection` on the host side and fill it
  - allocate space on the gpu
  - transfer to the gpu
  - run the kernel to compute some func per channel
  - transfer the results back to host
  - assert for each channel
@fwyzard fwyzard force-pushed the vkhristenko/hcalhbhedf_constexpr_10_2_0_pre4 branch from 7c28fdb to 18418f6 Compare June 4, 2018 13:11
@cmsbot
Copy link

cmsbot commented Jun 4, 2018

Pull request #63 was updated. @cmsbot, @fwyzard can you please check and sign again.

@fwyzard fwyzard merged commit d408f60 into cms-patatrack:CMSSW_10_2_X_Patatrack Jun 4, 2018
@fwyzard fwyzard deleted the vkhristenko/hcalhbhedf_constexpr_10_2_0_pre4 branch June 4, 2018 14:03
fwyzard added a commit that referenced this pull request Jun 4, 2018
Update HcalDetids and HcalDigis to support CUDA similar to DataFormats/DetId:
  - move the implementation to the header files
  - mark methods as `constexpr`

Add CUDA tests for HcalDetId and HcalDigi dataformats:
  - create an `HBHEDigiCollection`/`HFDigiCollection`/`HODigiCollection` on the host side and fill it
  - allocate space on the gpu
  - transfer to the gpu
  - run the kernel to compute some func per channel
  - transfer the results back to host
  - assert for each channel
fwyzard added a commit that referenced this pull request Jun 4, 2018
Update HcalDetids and HcalDigis to support CUDA similar to DataFormats/DetId:
  - move the implementation to the header files
  - mark methods as `constexpr`

Add CUDA tests for HcalDetId and HcalDigi dataformats:
  - create an `HBHEDigiCollection`/`HFDigiCollection`/`HODigiCollection` on the host side and fill it
  - allocate space on the gpu
  - transfer to the gpu
  - run the kernel to compute some func per channel
  - transfer the results back to host
  - assert for each channel
fwyzard added a commit that referenced this pull request Jun 4, 2018
Update HcalDetids and HcalDigis to support CUDA similar to DataFormats/DetId:
  - move the implementation to the header files
  - mark methods as `constexpr`

Add CUDA tests for HcalDetId and HcalDigi dataformats:
  - create an `HBHEDigiCollection`/`HFDigiCollection`/`HODigiCollection` on the host side and fill it
  - allocate space on the gpu
  - transfer to the gpu
  - run the kernel to compute some func per channel
  - transfer the results back to host
  - assert for each channel
fwyzard pushed a commit that referenced this pull request Feb 12, 2021
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.

3 participants