SWDEV-240803 - add hipFuncSetAttribute and hipFuncAttribute
Change-Id: I3f4d67b19d89fd348fa5b884af4a2542ee4aba60
This commit is contained in:
@@ -55,6 +55,7 @@ hipExtModuleLaunchKernel
|
||||
hipExtLaunchKernel
|
||||
hipFree
|
||||
hipFreeArray
|
||||
hipFuncSetAttribute
|
||||
hipFuncSetCacheConfig
|
||||
hipGetDevice
|
||||
hipGetDeviceCount
|
||||
|
||||
@@ -56,6 +56,7 @@ global:
|
||||
hipExtLaunchKernel;
|
||||
hipFree;
|
||||
hipFreeArray;
|
||||
hipFuncSetAttribute;
|
||||
hipFuncSetCacheConfig;
|
||||
hipGetDevice;
|
||||
hipGetDeviceCount;
|
||||
|
||||
@@ -193,6 +193,14 @@ hipError_t hipFuncGetAttributes(hipFuncAttributes* attr, const void* func)
|
||||
HIP_RETURN(hipSuccess);
|
||||
}
|
||||
|
||||
hipError_t hipFuncSetAttribute ( const void* func, hipFuncAttribute attr, int value ) {
|
||||
HIP_INIT_API(hipFuncSetAttribute, func, attr, value);
|
||||
|
||||
// No way to set function attribute yet.
|
||||
|
||||
HIP_RETURN(hipSuccess);
|
||||
}
|
||||
|
||||
hipError_t ihipModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
|
||||
uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ,
|
||||
uint32_t blockDimX, uint32_t blockDimY, uint32_t blockDimZ,
|
||||
|
||||
Reference in New Issue
Block a user