Skip to content

CUDA API failed with error #736

@haxushu

Description

@haxushu

Describe the Bug

When running abacus-gpu version in abacus-develop/examples/01a_Si_diamond_pw_scf, the following message appears.

In File /root/abacus-develop/source/src_pw/hamilt_pw.cu : CUDA API failed at line 1558 with error: invalid argument (1)

It may be fixed like this:

	if(m == 1)
	{
		CHECK_CUDA(cudaFree(ps));
	}
=== To ==>
    if(m != 1)
	{
		CHECK_CUDA(cudaFree(ps));
	}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions