__device__ float3 title_calculation(Params myPrams, float3 force){ int i; extern __shared__ Params[] sourceParams; for (i = 0; i < blockDim.x; i++){ force += bodyBodyInteraction(myParams, sourceParams[i]); } return force; }
ソフトウェアエンジニアの技術ブログ:Software engineer tech blog
随机应变 ABCD: Always Be Coding and … : хороший