EXSWHTEC-338 - Implement tests for half2 type casting intrinsics #422
Change-Id: I5492fa7d54573d45bfdb9320e74ccc6ca7640d2d
[ROCm/hip-tests commit: 50031b5c44]
This commit is contained in:
committed by
Rakesh Roy
parent
fb232e2937
commit
d339e17a53
@@ -37,7 +37,3 @@ struct CmdOptions {
|
||||
};
|
||||
|
||||
extern CmdOptions cmd_options;
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
>>>>>>> c08a2a5d (Merge branch 'develop' into casting_int_tests)
|
||||
|
||||
@@ -311,6 +311,13 @@ TEST_CASE("Unit_atomicDec_Negative_Parameters") {}
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @defgroup MathTest Math Device Functions
|
||||
* @{
|
||||
* This section describes tests for device math functions of HIP runtime API.
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @defgroup PrintfTest Printf API Management
|
||||
* @{
|
||||
|
||||
@@ -112,6 +112,9 @@ template <typename T> class LinearAllocGuard {
|
||||
T* host_ptr_ = nullptr;
|
||||
|
||||
void dealloc() {
|
||||
if (ptr_ == nullptr) {
|
||||
return;
|
||||
}
|
||||
// No Catch macros, don't want to possibly throw in the destructor
|
||||
if (ptr_ != nullptr) {
|
||||
switch (allocation_type_) {
|
||||
|
||||
Reference in New Issue
Block a user