mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-23 04:44:03 +01:00
Merge branch 'gpu' of github.com:TREX-CoE/qmckl into gpu
This commit is contained in:
commit
aeec721774
@ -1116,8 +1116,6 @@ qmckl_exit_code qmckl_finalize_jastrow(qmckl_context context) {
|
|||||||
/* Decide if the Jastrow if offloaded on GPU or not */
|
/* Decide if the Jastrow if offloaded on GPU or not */
|
||||||
#if defined(HAVE_HPC) && (defined(HAVE_CUBLAS_OFFLOAD) || defined(HAVE_OPENACC_OFFLOAD) || defined(HAVE_OPENMP_OFFLOAD))
|
#if defined(HAVE_HPC) && (defined(HAVE_CUBLAS_OFFLOAD) || defined(HAVE_OPENACC_OFFLOAD) || defined(HAVE_OPENMP_OFFLOAD))
|
||||||
ctx->jastrow.gpu_offload = true; // ctx->electron.num > 100;
|
ctx->jastrow.gpu_offload = true; // ctx->electron.num > 100;
|
||||||
#else
|
|
||||||
ctx->jastrow.gpu_offload = false;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
qmckl_exit_code rc = QMCKL_SUCCESS;
|
qmckl_exit_code rc = QMCKL_SUCCESS;
|
||||||
|
Loading…
Reference in New Issue
Block a user