@@ -586,7 +586,7 @@ uint64_t gen_proof_gpu(void *pSetupCtx_, uint64_t airgroupId, uint64_t airId, ui
586586 uint64_t offsetPublicInputs = setupCtx->starkInfo .mapOffsetsGPU [std::make_pair (" publics" , false )];
587587
588588 if (setupCtx->starkInfo .mapTotalNCustomCommitsFixed > 0 ) {
589- Goldilocks::Element *pCustomCommitsFixed = (Goldilocks::Element *)d_aux_trace + setupCtx->starkInfo .mapOffsets [std::make_pair (" custom_fixed" , false )];
589+ Goldilocks::Element *pCustomCommitsFixed = (Goldilocks::Element *)d_aux_trace + setupCtx->starkInfo .mapOffsetsGPU [std::make_pair (" custom_fixed" , false )];
590590 uint64_t customCommitsSize = setupCtx->starkInfo .mapTotalNCustomCommitsFixed * sizeof (Goldilocks::Element);
591591 // Skip the 32-byte Merkle-root header at the start of the file (assumes 1 custom commit per AIR).
592592 load_and_copy_to_device_in_chunks (d_buffers, customCommitsFixedPath, (uint8_t *)pCustomCommitsFixed, customCommitsSize, streamId, 32 );
@@ -680,7 +680,7 @@ uint64_t initialize_instance_gpu(void *pSetupCtx_, uint64_t airgroupId, uint64_t
680680 uint64_t offsetPublicInputs = setupCtx->starkInfo .mapOffsetsGPU [std::make_pair (" publics" , false )];
681681
682682 if (setupCtx->starkInfo .mapTotalNCustomCommitsFixed > 0 ) {
683- Goldilocks::Element *pCustomCommitsFixed = (Goldilocks::Element *)d_aux_trace + setupCtx->starkInfo .mapOffsets [std::make_pair (" custom_fixed" , false )];
683+ Goldilocks::Element *pCustomCommitsFixed = (Goldilocks::Element *)d_aux_trace + setupCtx->starkInfo .mapOffsetsGPU [std::make_pair (" custom_fixed" , false )];
684684 uint64_t customCommitsSize = setupCtx->starkInfo .mapTotalNCustomCommitsFixed * sizeof (Goldilocks::Element);
685685 load_and_copy_to_device_in_chunks (d_buffers, customCommitsFixedPath, (uint8_t *)pCustomCommitsFixed, customCommitsSize, streamId, 32 );
686686 }
@@ -1258,7 +1258,7 @@ uint64_t commit_witness_gpu(void *pSetupCtx_, void *params_, uint64_t instanceId
12581258 CHECKCUDAERR (cudaGetLastError ());
12591259
12601260 if (setupCtx->starkInfo .mapTotalNCustomCommitsFixed > 0 ) {
1261- Goldilocks::Element *pCustomCommitsFixedDst = (Goldilocks::Element *)d_aux_trace + setupCtx->starkInfo .mapOffsets [std::make_pair (" custom_fixed" , false )];
1261+ Goldilocks::Element *pCustomCommitsFixedDst = (Goldilocks::Element *)d_aux_trace + setupCtx->starkInfo .mapOffsetsGPU [std::make_pair (" custom_fixed" , false )];
12621262 uint64_t customCommitsSize = setupCtx->starkInfo .mapTotalNCustomCommitsFixed * sizeof (Goldilocks::Element);
12631263 load_and_copy_to_device_in_chunks (d_buffers, customCommitsFixedPath, (uint8_t *)pCustomCommitsFixedDst, customCommitsSize, streamId, 32 );
12641264 }
@@ -1301,7 +1301,7 @@ uint64_t commit_witness_gpu(void *pSetupCtx_, void *params_, uint64_t instanceId
13011301 pConstPolsAddress: d_const_pols_unpacked,
13021302 pConstPolsExtendedTreeAddress: nullptr ,
13031303 pCustomCommitsFixed: setupCtx->starkInfo .mapTotalNCustomCommitsFixed > 0
1304- ? (Goldilocks::Element *)d_aux_trace + setupCtx->starkInfo .mapOffsets [std::make_pair (" custom_fixed" , false )]
1304+ ? (Goldilocks::Element *)d_aux_trace + setupCtx->starkInfo .mapOffsetsGPU [std::make_pair (" custom_fixed" , false )]
13051305 : nullptr ,
13061306 };
13071307
0 commit comments