Comments (2)
Hi @ArchaeaSoftware ,
Did you use hipify? Here is a sample null kernel code.
#include<hip/hip_runtime.h>
#include<hip/hip_runtime_api.h>
__global__ void Kernel(hipLaunchParm lp) {}
int main(){
hipLaunchKernel(Kernel, dim3(1,1,1), dim3(1,1,1),0,0);
}
from hip.
Hi, the parameter of hipLaunchParm is currently required for any HIP kernels.
It's related to how we process and launch kernels through our compiler stack with HCC.
As Aditya pointed out, "global void Kernel(hipLaunchParm lp) {}" is equavelunt to NULL kernel for HIP.
On NVCC path, the kernel parameter lp will be ignored; thus, the above kernel perfectly equal to NULL kernel defined in CUDA.
from hip.
Related Issues (20)
- Failed compilation for floating point template parameters HOT 6
- [MI210] HIPIFY exllamaV2 succeeds on NV GPU and RX6700xt but fails on MI50 and MI210
- HIP doesn't support `atomicMax` or `atomicMin` with `long long int` HOT 2
- rocm 5.7: hipcc crashes if ranges is included nd g++-12 is installed HOT 6
- __match functions HOT 2
- hipHostMalloc: hipHostMallocNumaUser flag is ignored HOT 3
- Multi-GPU, P2P access, Memcpy2D, SIGSEGV HOT 19
- HIP 5.7 Makes blender freeze HOT 19
- How to estimate the accuracy of converting HIP to CUDA or converting CUDA to HIP? HOT 5
- Number of VGPRs and SGPRs vs. hipDeviceProp_t::regsPerBlock HOT 4
- Different behaviour between clang hip (clang from llvm), /opt/rocm/llvm/bin/clang and hipcc HOT 1
- `hipEventRecord` time depends heavily on number of streams, synchronization, and HIP version HOT 7
- `hipStreamDestroy` hangs HOT 10
- Device assert broken on gfx1030 with "Bus error", or hanging after synchronize HOT 27
- `hipFreeAsync` hangs HOT 11
- graph conditional handles HOT 2
- Kernels produced by `hipcc` vs `hiprtc` run the GPU in different compute modes (gfx1100). HOT 3
- `operator*` overloads for complex types are broken in 5.7 HOT 2
- Please provide pkg-config file
- Memleak when using ROCm 5.7 with Pytorch 2.2.0-dev HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hip.