Skip to content

Commit

Permalink
replace alpaka::getPtrNative(buf) with buf.data()
Browse files Browse the repository at this point in the history
  • Loading branch information
slava77devel committed Aug 8, 2024
1 parent 4ef678d commit a7d73c0
Show file tree
Hide file tree
Showing 14 changed files with 290 additions and 290 deletions.
4 changes: 2 additions & 2 deletions RecoTracker/LSTCore/interface/EndcapGeometryBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ namespace lst {

template <typename TBuff>
void setData(TBuff const& buf) {
geoMapDetId = alpaka::getPtrNative(buf.geoMapDetId_buf);
geoMapPhi = alpaka::getPtrNative(buf.geoMapPhi_buf);
geoMapDetId = buf.geoMapDetId_buf.data();
geoMapPhi = buf.geoMapPhi_buf.data();
}
};

Expand Down
52 changes: 26 additions & 26 deletions RecoTracker/LSTCore/interface/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,32 +84,32 @@ namespace lst {

template <typename TBuff>
void setData(TBuff const& buf) {
detIds = alpaka::getPtrNative(buf.detIds_buf);
moduleMap = alpaka::getPtrNative(buf.moduleMap_buf);
mapdetId = alpaka::getPtrNative(buf.mapdetId_buf);
mapIdx = alpaka::getPtrNative(buf.mapIdx_buf);
nConnectedModules = alpaka::getPtrNative(buf.nConnectedModules_buf);
drdzs = alpaka::getPtrNative(buf.drdzs_buf);
dxdys = alpaka::getPtrNative(buf.dxdys_buf);
nModules = alpaka::getPtrNative(buf.nModules_buf);
nLowerModules = alpaka::getPtrNative(buf.nLowerModules_buf);
partnerModuleIndices = alpaka::getPtrNative(buf.partnerModuleIndices_buf);

layers = alpaka::getPtrNative(buf.layers_buf);
rings = alpaka::getPtrNative(buf.rings_buf);
modules = alpaka::getPtrNative(buf.modules_buf);
rods = alpaka::getPtrNative(buf.rods_buf);
subdets = alpaka::getPtrNative(buf.subdets_buf);
sides = alpaka::getPtrNative(buf.sides_buf);
eta = alpaka::getPtrNative(buf.eta_buf);
r = alpaka::getPtrNative(buf.r_buf);
isInverted = alpaka::getPtrNative(buf.isInverted_buf);
isLower = alpaka::getPtrNative(buf.isLower_buf);
isAnchor = alpaka::getPtrNative(buf.isAnchor_buf);
moduleType = alpaka::getPtrNative(buf.moduleType_buf);
moduleLayerType = alpaka::getPtrNative(buf.moduleLayerType_buf);
lstLayers = alpaka::getPtrNative(buf.lstLayers_buf);
connectedPixels = alpaka::getPtrNative(buf.connectedPixels_buf);
detIds = buf.detIds_buf.data();
moduleMap = buf.moduleMap_buf.data();
mapdetId = buf.mapdetId_buf.data();
mapIdx = buf.mapIdx_buf.data();
nConnectedModules = buf.nConnectedModules_buf.data();
drdzs = buf.drdzs_buf.data();
dxdys = buf.dxdys_buf.data();
nModules = buf.nModules_buf.data();
nLowerModules = buf.nLowerModules_buf.data();
partnerModuleIndices = buf.partnerModuleIndices_buf.data();

layers = buf.layers_buf.data();
rings = buf.rings_buf.data();
modules = buf.modules_buf.data();
rods = buf.rods_buf.data();
subdets = buf.subdets_buf.data();
sides = buf.sides_buf.data();
eta = buf.eta_buf.data();
r = buf.r_buf.data();
isInverted = buf.isInverted_buf.data();
isLower = buf.isLower_buf.data();
isAnchor = buf.isAnchor_buf.data();
moduleType = buf.moduleType_buf.data();
moduleLayerType = buf.moduleLayerType_buf.data();
lstLayers = buf.lstLayers_buf.data();
connectedPixels = buf.connectedPixels_buf.data();
}
};

Expand Down
4 changes: 2 additions & 2 deletions RecoTracker/LSTCore/src/LSTESData.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ std::unique_ptr<lst::LSTESData<alpaka_common::DevHost>> lst::loadAndFillESHost()

auto endcapGeometryBuffers =
EndcapGeometryBuffer<alpaka_common::DevHost>(cms::alpakatools::host(), endcapGeometry.nEndCapMap);
std::memcpy(alpaka::getPtrNative(endcapGeometryBuffers.geoMapDetId_buf),
std::memcpy(endcapGeometryBuffers.geoMapDetId_buf.data(),
endcapGeometry.geoMapDetId_buf.data(),
endcapGeometry.nEndCapMap * sizeof(unsigned int));
std::memcpy(alpaka::getPtrNative(endcapGeometryBuffers.geoMapPhi_buf),
std::memcpy(endcapGeometryBuffers.geoMapPhi_buf.data(),
endcapGeometry.geoMapPhi_buf.data(),
endcapGeometry.nEndCapMap * sizeof(float));

Expand Down
50 changes: 25 additions & 25 deletions RecoTracker/LSTCore/src/ModuleMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ namespace lst {
modulesBuf.connectedPixels_buf = allocBufWrapper<unsigned int>(cms::alpakatools::host(), nPixels);
modulesBuf.data_.setData(modulesBuf);

unsigned int* connectedPixels = alpaka::getPtrNative(modulesBuf.connectedPixels_buf);
unsigned int* connectedPixels = modulesBuf.connectedPixels_buf.data();

for (unsigned int icondet = 0; icondet < totalSizes; icondet++) {
connectedPixels[icondet] = mmd.detIdToIndex.at(connectedModuleDetIds[icondet]);
Expand All @@ -99,8 +99,8 @@ namespace lst {
inline void fillConnectedModuleArrayExplicit(ModulesBuffer<alpaka_common::DevHost>& modulesBuf,
ModuleMetaData const& mmd,
ModuleConnectionMap const& moduleConnectionMap) {
uint16_t* moduleMap = alpaka::getPtrNative(modulesBuf.moduleMap_buf);
uint16_t* nConnectedModules = alpaka::getPtrNative(modulesBuf.nConnectedModules_buf);
uint16_t* moduleMap = modulesBuf.moduleMap_buf.data();
uint16_t* nConnectedModules = modulesBuf.nConnectedModules_buf.data();

for (auto it = mmd.detIdToIndex.begin(); it != mmd.detIdToIndex.end(); ++it) {
unsigned int detId = it->first;
Expand All @@ -114,8 +114,8 @@ namespace lst {
}

inline void fillMapArraysExplicit(ModulesBuffer<alpaka_common::DevHost>& modulesBuf, ModuleMetaData const& mmd) {
uint16_t* mapIdx = alpaka::getPtrNative(modulesBuf.mapIdx_buf);
unsigned int* mapdetId = alpaka::getPtrNative(modulesBuf.mapdetId_buf);
uint16_t* mapIdx = modulesBuf.mapIdx_buf.data();
unsigned int* mapdetId = modulesBuf.mapdetId_buf.data();

unsigned int counter = 0;
for (auto it = mmd.detIdToIndex.begin(); it != mmd.detIdToIndex.end(); ++it) {
Expand Down Expand Up @@ -205,26 +205,26 @@ namespace lst {
ModulesBuffer<alpaka_common::DevHost> modulesBuf(cms::alpakatools::host(), nModules, 0);

// Getting the underlying data pointers
unsigned int* host_detIds = alpaka::getPtrNative(modulesBuf.detIds_buf);
short* host_layers = alpaka::getPtrNative(modulesBuf.layers_buf);
short* host_rings = alpaka::getPtrNative(modulesBuf.rings_buf);
short* host_rods = alpaka::getPtrNative(modulesBuf.rods_buf);
short* host_modules = alpaka::getPtrNative(modulesBuf.modules_buf);
short* host_subdets = alpaka::getPtrNative(modulesBuf.subdets_buf);
short* host_sides = alpaka::getPtrNative(modulesBuf.sides_buf);
float* host_eta = alpaka::getPtrNative(modulesBuf.eta_buf);
float* host_r = alpaka::getPtrNative(modulesBuf.r_buf);
bool* host_isInverted = alpaka::getPtrNative(modulesBuf.isInverted_buf);
bool* host_isLower = alpaka::getPtrNative(modulesBuf.isLower_buf);
bool* host_isAnchor = alpaka::getPtrNative(modulesBuf.isAnchor_buf);
ModuleType* host_moduleType = alpaka::getPtrNative(modulesBuf.moduleType_buf);
ModuleLayerType* host_moduleLayerType = alpaka::getPtrNative(modulesBuf.moduleLayerType_buf);
float* host_dxdys = alpaka::getPtrNative(modulesBuf.dxdys_buf);
float* host_drdzs = alpaka::getPtrNative(modulesBuf.drdzs_buf);
uint16_t* host_nModules = alpaka::getPtrNative(modulesBuf.nModules_buf);
uint16_t* host_nLowerModules = alpaka::getPtrNative(modulesBuf.nLowerModules_buf);
uint16_t* host_partnerModuleIndices = alpaka::getPtrNative(modulesBuf.partnerModuleIndices_buf);
int* host_lstLayers = alpaka::getPtrNative(modulesBuf.lstLayers_buf);
unsigned int* host_detIds = modulesBuf.detIds_buf.data();
short* host_layers = modulesBuf.layers_buf.data();
short* host_rings = modulesBuf.rings_buf.data();
short* host_rods = modulesBuf.rods_buf.data();
short* host_modules = modulesBuf.modules_buf.data();
short* host_subdets = modulesBuf.subdets_buf.data();
short* host_sides = modulesBuf.sides_buf.data();
float* host_eta = modulesBuf.eta_buf.data();
float* host_r = modulesBuf.r_buf.data();
bool* host_isInverted = modulesBuf.isInverted_buf.data();
bool* host_isLower = modulesBuf.isLower_buf.data();
bool* host_isAnchor = modulesBuf.isAnchor_buf.data();
ModuleType* host_moduleType = modulesBuf.moduleType_buf.data();
ModuleLayerType* host_moduleLayerType = modulesBuf.moduleLayerType_buf.data();
float* host_dxdys = modulesBuf.dxdys_buf.data();
float* host_drdzs = modulesBuf.drdzs_buf.data();
uint16_t* host_nModules = modulesBuf.nModules_buf.data();
uint16_t* host_nLowerModules = modulesBuf.nLowerModules_buf.data();
uint16_t* host_partnerModuleIndices = modulesBuf.partnerModuleIndices_buf.data();
int* host_lstLayers = modulesBuf.lstLayers_buf.data();

//reassign detIdToIndex indices here
nLowerModules = (nModules - 1) / 2;
Expand Down
40 changes: 20 additions & 20 deletions RecoTracker/LSTCore/src/alpaka/Event.dev.cc
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ void lst::Event<Acc3D>::addHitToEvent(std::vector<float> const& x,
TwoS,
nModules_,
nEndCapMap_,
alpaka::getPtrNative(endcapGeometryBuffers_.geoMapDetId_buf),
alpaka::getPtrNative(endcapGeometryBuffers_.geoMapPhi_buf),
endcapGeometryBuffers_.geoMapDetId_buf.data(),
endcapGeometryBuffers_.geoMapPhi_buf.data(),
*modulesBuffers_.data(),
*hitsInGPU,
nHits);
Expand Down Expand Up @@ -368,11 +368,11 @@ void lst::Event<Acc3D>::addPixelSegmentToEvent(std::vector<unsigned int> const&
*hitsInGPU,
*mdsInGPU,
*segmentsInGPU,
alpaka::getPtrNative(hitIndices0_dev),
alpaka::getPtrNative(hitIndices1_dev),
alpaka::getPtrNative(hitIndices2_dev),
alpaka::getPtrNative(hitIndices3_dev),
alpaka::getPtrNative(dPhiChange_dev),
hitIndices0_dev.data(),
hitIndices1_dev.data(),
hitIndices2_dev.data(),
hitIndices3_dev.data(),
dPhiChange_dev.data(),
pixelModuleIndex,
size);
}
Expand Down Expand Up @@ -560,7 +560,7 @@ void lst::Event<Acc3D>::createTriplets() {
*segmentsInGPU,
*tripletsInGPU,
*rangesInGPU,
alpaka::getPtrNative(index_gpu_buf),
index_gpu_buf.data(),
nonZeroModules);

Vec3D const threadsPerBlockAddTrip{1, 1, 1024};
Expand Down Expand Up @@ -720,10 +720,10 @@ void lst::Event<Acc3D>::createTrackCandidates(bool no_pls_dupclean, bool tc_pls_
alpaka::memcpy(queue, nTrackCanT5Host_buf, trackCandidatesBuffers->nTrackCandidatesT5_buf);
alpaka::wait(queue); // wait to get the values before using them

auto nTrackCandidatespT5 = *alpaka::getPtrNative(nTrackCanpT5Host_buf);
auto nTrackCandidatespT3 = *alpaka::getPtrNative(nTrackCanpT3Host_buf);
auto nTrackCandidatespLS = *alpaka::getPtrNative(nTrackCanpLSHost_buf);
auto nTrackCandidatesT5 = *alpaka::getPtrNative(nTrackCanT5Host_buf);
auto nTrackCandidatespT5 = *nTrackCanpT5Host_buf.data();
auto nTrackCandidatespT3 = *nTrackCanpT3Host_buf.data();
auto nTrackCandidatespLS = *nTrackCanpLSHost_buf.data();
auto nTrackCandidatesT5 = *nTrackCanT5Host_buf.data();
if ((nTrackCandidatespT5 + nTrackCandidatespT3 + nTrackCandidatespLS == n_max_pixel_track_candidates) ||
(nTrackCandidatesT5 == n_max_nonpixel_track_candidates)) {
printf(
Expand Down Expand Up @@ -764,8 +764,8 @@ void lst::Event<Acc3D>::createPixelTriplets() {
auto connectedPixelSize_dev_buf = allocBufWrapper<unsigned int>(devAcc, nInnerSegments, queue);
auto connectedPixelIndex_dev_buf = allocBufWrapper<unsigned int>(devAcc, nInnerSegments, queue);

unsigned int* connectedPixelSize_host = alpaka::getPtrNative(connectedPixelSize_host_buf);
unsigned int* connectedPixelIndex_host = alpaka::getPtrNative(connectedPixelIndex_host_buf);
unsigned int* connectedPixelSize_host = connectedPixelSize_host_buf.data();
unsigned int* connectedPixelIndex_host = connectedPixelIndex_host_buf.data();

int pixelIndexOffsetPos =
pixelMapping_.connectedPixelsIndex[size_superbins - 1] + pixelMapping_.connectedPixelsSizes[size_superbins - 1];
Expand Down Expand Up @@ -821,8 +821,8 @@ void lst::Event<Acc3D>::createPixelTriplets() {
*segmentsInGPU,
*tripletsInGPU,
*pixelTripletsInGPU,
alpaka::getPtrNative(connectedPixelSize_dev_buf),
alpaka::getPtrNative(connectedPixelIndex_dev_buf),
connectedPixelSize_dev_buf.data(),
connectedPixelIndex_dev_buf.data(),
nInnerSegments);

#ifdef WARNINGS
Expand All @@ -831,7 +831,7 @@ void lst::Event<Acc3D>::createPixelTriplets() {
alpaka::memcpy(queue, nPixelTriplets_buf, pixelTripletsBuffers->nPixelTriplets_buf);
alpaka::wait(queue); // wait to get the value before using it

std::cout << "number of pixel triplets = " << *alpaka::getPtrNative(nPixelTriplets_buf) << std::endl;
std::cout << "number of pixel triplets = " << *nPixelTriplets_buf.data() << std::endl;
#endif

//pT3s can be cleaned here because they're not used in making pT5s!
Expand Down Expand Up @@ -1028,8 +1028,8 @@ void lst::Event<Acc3D>::createPixelQuintuplets() {
*tripletsInGPU,
*quintupletsInGPU,
*pixelQuintupletsInGPU,
alpaka::getPtrNative(connectedPixelSize_dev_buf),
alpaka::getPtrNative(connectedPixelIndex_dev_buf),
connectedPixelSize_dev_buf.data(),
connectedPixelIndex_dev_buf.data(),
nInnerSegments,
*rangesInGPU);

Expand Down Expand Up @@ -1065,7 +1065,7 @@ void lst::Event<Acc3D>::createPixelQuintuplets() {
alpaka::memcpy(queue, nPixelQuintuplets_buf, pixelQuintupletsBuffers->nPixelQuintuplets_buf);
alpaka::wait(queue); // wait to get the value before using it

std::cout << "number of pixel quintuplets = " << *alpaka::getPtrNative(nPixelQuintuplets_buf) << std::endl;
std::cout << "number of pixel quintuplets = " << *nPixelQuintuplets_buf.data() << std::endl;
#endif
}

Expand Down
38 changes: 19 additions & 19 deletions RecoTracker/LSTCore/src/alpaka/Hit.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,25 @@ namespace lst {

template <typename TBuff>
void setData(TBuff& buf) {
nHits = alpaka::getPtrNative(buf.nHits_buf);
xs = alpaka::getPtrNative(buf.xs_buf);
ys = alpaka::getPtrNative(buf.ys_buf);
zs = alpaka::getPtrNative(buf.zs_buf);
moduleIndices = alpaka::getPtrNative(buf.moduleIndices_buf);
idxs = alpaka::getPtrNative(buf.idxs_buf);
detid = alpaka::getPtrNative(buf.detid_buf);
rts = alpaka::getPtrNative(buf.rts_buf);
phis = alpaka::getPtrNative(buf.phis_buf);
etas = alpaka::getPtrNative(buf.etas_buf);
highEdgeXs = alpaka::getPtrNative(buf.highEdgeXs_buf);
highEdgeYs = alpaka::getPtrNative(buf.highEdgeYs_buf);
lowEdgeXs = alpaka::getPtrNative(buf.lowEdgeXs_buf);
lowEdgeYs = alpaka::getPtrNative(buf.lowEdgeYs_buf);
hitRanges = alpaka::getPtrNative(buf.hitRanges_buf);
hitRangesLower = alpaka::getPtrNative(buf.hitRangesLower_buf);
hitRangesUpper = alpaka::getPtrNative(buf.hitRangesUpper_buf);
hitRangesnLower = alpaka::getPtrNative(buf.hitRangesnLower_buf);
hitRangesnUpper = alpaka::getPtrNative(buf.hitRangesnUpper_buf);
nHits = buf.nHits_buf.data();
xs = buf.xs_buf.data();
ys = buf.ys_buf.data();
zs = buf.zs_buf.data();
moduleIndices = buf.moduleIndices_buf.data();
idxs = buf.idxs_buf.data();
detid = buf.detid_buf.data();
rts = buf.rts_buf.data();
phis = buf.phis_buf.data();
etas = buf.etas_buf.data();
highEdgeXs = buf.highEdgeXs_buf.data();
highEdgeYs = buf.highEdgeYs_buf.data();
lowEdgeXs = buf.lowEdgeXs_buf.data();
lowEdgeYs = buf.lowEdgeYs_buf.data();
hitRanges = buf.hitRanges_buf.data();
hitRangesLower = buf.hitRangesLower_buf.data();
hitRangesUpper = buf.hitRangesUpper_buf.data();
hitRangesnLower = buf.hitRangesnLower_buf.data();
hitRangesnUpper = buf.hitRangesnUpper_buf.data();
}
};

Expand Down
72 changes: 36 additions & 36 deletions RecoTracker/LSTCore/src/alpaka/MiniDoublet.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,42 +56,42 @@ namespace lst {

template <typename TBuf>
void setData(TBuf& buf) {
nMemoryLocations = alpaka::getPtrNative(buf.nMemoryLocations_buf);
anchorHitIndices = alpaka::getPtrNative(buf.anchorHitIndices_buf);
outerHitIndices = alpaka::getPtrNative(buf.outerHitIndices_buf);
moduleIndices = alpaka::getPtrNative(buf.moduleIndices_buf);
nMDs = alpaka::getPtrNative(buf.nMDs_buf);
totOccupancyMDs = alpaka::getPtrNative(buf.totOccupancyMDs_buf);
dphichanges = alpaka::getPtrNative(buf.dphichanges_buf);
dzs = alpaka::getPtrNative(buf.dzs_buf);
dphis = alpaka::getPtrNative(buf.dphis_buf);
shiftedXs = alpaka::getPtrNative(buf.shiftedXs_buf);
shiftedYs = alpaka::getPtrNative(buf.shiftedYs_buf);
shiftedZs = alpaka::getPtrNative(buf.shiftedZs_buf);
noShiftedDphis = alpaka::getPtrNative(buf.noShiftedDphis_buf);
noShiftedDphiChanges = alpaka::getPtrNative(buf.noShiftedDphiChanges_buf);
anchorX = alpaka::getPtrNative(buf.anchorX_buf);
anchorY = alpaka::getPtrNative(buf.anchorY_buf);
anchorZ = alpaka::getPtrNative(buf.anchorZ_buf);
anchorRt = alpaka::getPtrNative(buf.anchorRt_buf);
anchorPhi = alpaka::getPtrNative(buf.anchorPhi_buf);
anchorEta = alpaka::getPtrNative(buf.anchorEta_buf);
anchorHighEdgeX = alpaka::getPtrNative(buf.anchorHighEdgeX_buf);
anchorHighEdgeY = alpaka::getPtrNative(buf.anchorHighEdgeY_buf);
anchorLowEdgeX = alpaka::getPtrNative(buf.anchorLowEdgeX_buf);
anchorLowEdgeY = alpaka::getPtrNative(buf.anchorLowEdgeY_buf);
outerX = alpaka::getPtrNative(buf.outerX_buf);
outerY = alpaka::getPtrNative(buf.outerY_buf);
outerZ = alpaka::getPtrNative(buf.outerZ_buf);
outerRt = alpaka::getPtrNative(buf.outerRt_buf);
outerPhi = alpaka::getPtrNative(buf.outerPhi_buf);
outerEta = alpaka::getPtrNative(buf.outerEta_buf);
outerHighEdgeX = alpaka::getPtrNative(buf.outerHighEdgeX_buf);
outerHighEdgeY = alpaka::getPtrNative(buf.outerHighEdgeY_buf);
outerLowEdgeX = alpaka::getPtrNative(buf.outerLowEdgeX_buf);
outerLowEdgeY = alpaka::getPtrNative(buf.outerLowEdgeY_buf);
anchorLowEdgePhi = alpaka::getPtrNative(buf.anchorLowEdgePhi_buf);
anchorHighEdgePhi = alpaka::getPtrNative(buf.anchorHighEdgePhi_buf);
nMemoryLocations = buf.nMemoryLocations_buf.data();
anchorHitIndices = buf.anchorHitIndices_buf.data();
outerHitIndices = buf.outerHitIndices_buf.data();
moduleIndices = buf.moduleIndices_buf.data();
nMDs = buf.nMDs_buf.data();
totOccupancyMDs = buf.totOccupancyMDs_buf.data();
dphichanges = buf.dphichanges_buf.data();
dzs = buf.dzs_buf.data();
dphis = buf.dphis_buf.data();
shiftedXs = buf.shiftedXs_buf.data();
shiftedYs = buf.shiftedYs_buf.data();
shiftedZs = buf.shiftedZs_buf.data();
noShiftedDphis = buf.noShiftedDphis_buf.data();
noShiftedDphiChanges = buf.noShiftedDphiChanges_buf.data();
anchorX = buf.anchorX_buf.data();
anchorY = buf.anchorY_buf.data();
anchorZ = buf.anchorZ_buf.data();
anchorRt = buf.anchorRt_buf.data();
anchorPhi = buf.anchorPhi_buf.data();
anchorEta = buf.anchorEta_buf.data();
anchorHighEdgeX = buf.anchorHighEdgeX_buf.data();
anchorHighEdgeY = buf.anchorHighEdgeY_buf.data();
anchorLowEdgeX = buf.anchorLowEdgeX_buf.data();
anchorLowEdgeY = buf.anchorLowEdgeY_buf.data();
outerX = buf.outerX_buf.data();
outerY = buf.outerY_buf.data();
outerZ = buf.outerZ_buf.data();
outerRt = buf.outerRt_buf.data();
outerPhi = buf.outerPhi_buf.data();
outerEta = buf.outerEta_buf.data();
outerHighEdgeX = buf.outerHighEdgeX_buf.data();
outerHighEdgeY = buf.outerHighEdgeY_buf.data();
outerLowEdgeX = buf.outerLowEdgeX_buf.data();
outerLowEdgeY = buf.outerLowEdgeY_buf.data();
anchorLowEdgePhi = buf.anchorLowEdgePhi_buf.data();
anchorHighEdgePhi = buf.anchorHighEdgePhi_buf.data();
}
};

Expand Down
Loading

0 comments on commit a7d73c0

Please sign in to comment.