Skip to content

Instantly share code, notes, and snippets.

Avatar

Stephan Antholzer antholzer

View GitHub Profile
View gist:89b772977152ed4aeb8320a6b1588560
Memory access fault by GPU node-1 (Agent handle: 0x55c17fc9c660) on address 0x9263fc000. Reason: Page not present or supervisor privilege.
Nearby memory map:
0x905a00000, 0x80000, VRAM
0x905a80000, 0xa0000, VRAM
PtrInfo:
Address: 0x905a00000-0x905a80000/0x905a00000-0x905a80000
Size: 0x80000
Type: 1
Owner: 0x55c17fc9c660
View complex-batched.cpp
#include <cassert>
#include <complex>
#include <iostream>
#include <vector>
#include <hip/hip_runtime_api.h>
#include "rocfft.h"
int main(int argc, char* argv[])
View rocfft_real.cpp
#include <iostream>
#include <vector>
#include "hip/hip_runtime_api.h"
#include "hip/hip_vector_types.h"
#include "rocfft.h"
int main()
{
// rocFFT gpu compute
// ========================================