Removed hidden args and hipLaunchParm from HIP/HCC path
[ROCm/hip-tests commit: bd985285df]
Ta zmiana jest zawarta w:
%! (template.HTML=
Rahul Garg)złożyło 2018-03-16 22:50:25 +05:30
1 rodzic
d96395e02b
złożenie
eb77a001da
2 plików zmienionych
+1
-2
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -23,7 +23,7 @@ THE SOFTWARE.
|
||||
#include "hip/hip_runtime.h"
|
||||
extern texture<float, 2, hipReadModeElementType> tex;
|
||||
|
||||
extern "C" __global__ void tex2dKernel(hipLaunchParm lp, float* outputData, int width, int height) {
|
||||
extern "C" __global__ void tex2dKernel(float* outputData, int width, int height) {
|
||||
int x = hipBlockIdx_x * hipBlockDim_x + hipThreadIdx_x;
|
||||
int y = hipBlockIdx_y * hipBlockDim_y + hipThreadIdx_y;
|
||||
outputData[y * width + x] = tex2D(tex, x, y);
|
||||
|
||||
@@ -90,7 +90,6 @@ bool runTest(int argc, char** argv) {
|
||||
#ifdef __HIP_PLATFORM_HCC__
|
||||
|
||||
struct {
|
||||
uint32_t _hidden[6]; // genco path + wrapper-gen pass used hidden arguments.
|
||||
void* _Ad;
|
||||
unsigned int _Bd;
|
||||
unsigned int _Cd;
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika