Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main(){
- try{
- RunGPUProfile();
- }catch(exception& e){
- cout << e.what() << endl;
- }
- return EXIT_SUCCESS;
- }
- bool GPU_Compute(GPU_InstrumentGroup** instrumentGroup_gpu,GPU_IonCollection**, ionCollection_gpu,LaunchAndIndices* launchParams){
- cudaProfilerStart();
- cudaDeviceSetCacheConfig(cudaFuncCachePreferShared);
- // run the GPU kernel for each dimension
- Compute<<<launchParams->launch->GetGrid(),launchParams->launch->GetThreads()>>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement